[Bug 5228] New: `hg help -e some_disabled_extension` doesn't show help contents
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Fri May 6 07:39:12 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5228
Bug ID: 5228
Summary: `hg help -e some_disabled_extension` doesn't show help
contents
Product: Mercurial
Version: 3.8.1
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: develop7 at develop7.info
CC: mercurial-devel at selenic.com
A user should be able to read complete help for disabled extensions as well.
Repro:
1. Run `hg help -e some_disabled_extension`
Expected: disabled extension help is shown
Instead: only extension summary and `(use "hg help extensions" for information
on enabling extensions)` tip is shown
It's quite easy to work this limitation around by running `hg --config
'extensions.some_disabled_extension=' help -e some_disabled_extension`, but
current behavior IMO violates Principle of Least Surprise. On the other hand,
implementing this proposal would ease deciding whether a user needs certain
extension at all. Obviously, it doesn't mean help for commands defined in
extension should be available.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list