Mercurial > hg
changeset 41075:d0c86a7447a6
help: show advanced, experimental and deprecated extensions with --verbose
I noticed that phabricator and absorb weren't showing up, no matter what.
There's a related problem where commands for these extensions *do* show up
without --verbose. I'm not sure what the point of hiding the extensions, but
not the commands is.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 28 Dec 2018 18:14:10 -0500 |
parents | 9afe128f7727 |
children | 8ecb17b7f432 |
files | mercurial/help.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help.py Fri Dec 28 17:45:27 2018 -0500 +++ b/mercurial/help.py Fri Dec 28 18:14:10 2018 -0500 @@ -616,7 +616,8 @@ ex = opts.get anyopts = (ex(r'keyword') or not (ex(r'command') or ex(r'extension'))) if not name and anyopts: - exts = listexts(_('enabled extensions:'), extensions.enabled()) + exts = listexts(_('enabled extensions:'), extensions.enabled(), + showdeprecated=ui.verbose) if exts: rst.append('\n') rst.extend(exts)