[PATCH 2 of 3] rebase: suggest help -e histedit

timeless at mozdev.org timeless at mozdev.org
Tue Oct 6 14:17:46 CDT 2015


# HG changeset patch
# User timeless at mozdev.org
# Date 1444158085 14400
#      Tue Oct 06 15:01:25 2015 -0400
# Node ID 47c5d80f778bd879aaaf4e38611e3a8677d42cf2
# Parent  21211b4e70c3924e5829a483ab16ae33b4003db9
rebase: suggest help -e histedit

Users unfamiliar with an extension should be reading the
documentation for the feature, not the command.

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -217,7 +217,7 @@
         keepopen = opts.get('keepopen', False)
 
         if opts.get('interactive'):
-            help = "hg help histedit"
+            help = "hg help -e histedit"
             msg = _("interactive history editing is supported by the "
                     "'histedit' extension (see \"%s\")") % help
             raise util.Abort(msg)


More information about the Mercurial-devel mailing list