[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 - RESEND

Azhagu Selvan SP tamizhgeek at gmail.com
Wed Oct 20 07:47:37 CDT 2010


# HG changeset patch
# User Azhagu Selvan SP <tamizhgeek at gmail.com>
# Date 1287578747 -19800
# Node ID c4cb8e9aeeddf9eeffb1e1b03679592b921a48f2
# Parent  b7a8f137d14a39a8f164568306911fbb0b7f5c55
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
@@ -1,3 +1,4 @@
+
 ;;; mercurial.el --- Emacs support for the Mercurial distributed SCM
 
 ;; Copyright (C) 2005, 2006 Bryan O'Sullivan
@@ -145,7 +146,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."


More information about the Mercurial-devel mailing list