help: show advanced, experimental and deprecated extensions with --verbose
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 28 Dec 2018 18:14:10 -0500
changeset 41075 d0c86a7447a6
parent 41074 9afe128f7727
child 41076 8ecb17b7f432
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.
mercurial/help.py
--- 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)