[PATCH] contrib/mercurial.el: hg-outgoing path is set as 'default-push' which prevents it from working in repos which have the default path as just 'default'. Fixed that

Azhagu Selvan SP tamizhgeek at gmail.com
Wed Oct 20 07:17:54 CDT 2010


# HG changeset patch
# User Azhagu Selvan SP <tamizhgeek at gmail.com>
# Date 1287576781 -19800
# Node ID 87334a9339736f91f80a66dd93a5ece38445fe20
# Parent  a04648b91a8797d54cc3d52642c0b0d5c38116a9
contrib/mercurial.el: hg-outgoing path is set as 'default-push' which prevents it from working in repos which have the default path as just 'default'. Fixed that.

Fix found in this url - http://alexott.net/en/writings/emacs-vcs/EmacsMercurial.html

diff --git a/contrib/mercurial.el b/contrib/mercurial.el
--- a/contrib/mercurial.el
+++ b/contrib/mercurial.el
@@ -145,7 +145,7 @@
   :type 'string
   :group 'mercurial)
 
-(defcustom hg-outgoing-repository "default-push"
+(defcustom hg-outgoing-repository "default"
   "The repository to which changes are pushed to by default.
 This should be a symbolic repository name, since it is used for all
 repository-related commands."


More information about the Mercurial-devel mailing list