Bug 4461 - hg help -e <extension> provides erroneous tip
Summary: hg help -e <extension> provides erroneous tip
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Bugzilla
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2014-11-20 16:42 UTC by André Sintzoff
Modified: 2015-01-22 15:04 UTC (History)
2 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Sintzoff 2014-11-20 16:42 UTC
When asking help for evolve extension
% hg help -e evolve

The last line is
(use "hg help -v evolve" to show built-in aliases and global options)


Unfortunately, the suggested command is providing information for the evolve command and not the evolve extension.

To get the built-in aliases of the evolve extension commands, it should be written:
"hg help -v -e evolve"
Comment 1 Augie Fackler 2014-12-17 12:32 UTC
Also a problem for rebase or histedit (not that those define aliases, but it seemed useful to point out.) Should be an easy-ish patch to help.py.
Comment 2 HG Bot 2014-12-22 18:31 UTC
Fixed by http://selenic.com/repo/hg/rev/861ddedfb402
Chingis Dugarzhapov <chingis.dug@gmail.com>
help: suggest '-v -e' to get built-in aliases for extensions (issue4461)

If extension name matches one of command names, suggest user to type
'hg help -v -e <extension>' to get full list of built-in aliases

(please test the fix)
Comment 3 Matt Mackall 2015-01-22 15:04 UTC
Bulk testing -> fixed