mercurial.el: fix hg-outgoing path when 'default-push' is not defined stable
authorAzhagu Selvan SP <tamizhgeek@gmail.com>
Wed, 20 Oct 2010 18:15:47 +0530
branchstable
changeset 12796 bc69ba99e34b
parent 12795 3cb0559e44d0
child 12797 076bbbf0ba86
mercurial.el: fix hg-outgoing path when 'default-push' is not defined hg-outgoing path is set as 'default-push' which prevents it from working in repos which only have 'default' defined. Fix provided by Kyujin Shim at http://alexott.net/en/writings/emacs-vcs/EmacsMercurial.html
contrib/mercurial.el
--- a/contrib/mercurial.el	Wed Oct 20 17:06:42 2010 -0500
+++ b/contrib/mercurial.el	Wed Oct 20 18:15:47 2010 +0530
@@ -145,7 +145,7 @@
   :type 'string
   :group 'mercurial)
 
-(defcustom hg-outgoing-repository "default-push"
+(defcustom hg-outgoing-repository ""
   "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."