# HG changeset patch # User timeless@mozdev.org # Date 1444158085 14400 # Node ID 7837653cb39a4fc3b556665edc55c155d7aa85ec # Parent 832f40d2af53915b8f11e1ddcd7d576cc3cfb578 rebase: suggest help -e histedit Users unfamiliar with an extension should be reading the documentation for the feature, not the command. diff -r 832f40d2af53 -r 7837653cb39a hgext/rebase.py --- a/hgext/rebase.py Tue Oct 06 15:05:40 2015 -0400 +++ b/hgext/rebase.py Tue Oct 06 15:01:25 2015 -0400 @@ -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) diff -r 832f40d2af53 -r 7837653cb39a tests/test-rebase-parameters.t --- a/tests/test-rebase-parameters.t Tue Oct 06 15:05:40 2015 -0400 +++ b/tests/test-rebase-parameters.t Tue Oct 06 15:01:25 2015 -0400 @@ -490,11 +490,11 @@ saved backup bundle to $TESTTMP/b3/.hg/strip-backup/e4e3f3546619-b0841178-backup.hg (glob) $ hg rebase -i - abort: interactive history editing is supported by the 'histedit' extension (see "hg help histedit") + abort: interactive history editing is supported by the 'histedit' extension (see "hg help -e histedit") [255] $ hg rebase --interactive - abort: interactive history editing is supported by the 'histedit' extension (see "hg help histedit") + abort: interactive history editing is supported by the 'histedit' extension (see "hg help -e histedit") [255] $ cd ..