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

login
register
mail settings
Submitter timeless@mozdev.org
Date Oct. 6, 2015, 7:17 p.m.
Message ID <47c5d80f778bd879aaaf.1444159066@waste.org>
Download mbox | patch
Permalink /patch/10833/
State Accepted
Headers show

Comments

timeless@mozdev.org - Oct. 6, 2015, 7:17 p.m.
# HG changeset patch
# User timeless@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.

Patch

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)