diff mercurial/help.py @ 27152:ac27b1b3be85

help: make help deprecated mention the extension before this, you got an empty list of extensions, which was unhelpful
author timeless <timeless@mozdev.org>
date Mon, 30 Nov 2015 20:45:07 +0000
parents 7625f6387fc4
children 0fe93498ef07
line wrap: on
line diff
--- a/mercurial/help.py	Mon Nov 30 20:44:22 2015 +0000
+++ b/mercurial/help.py	Mon Nov 30 20:45:07 2015 +0000
@@ -474,7 +474,8 @@
         doc = gettext(mod.__doc__).splitlines()[0]
 
         rst = listexts(_("'%s' is provided by the following "
-                              "extension:") % cmd, {ext: doc}, indent=4)
+                              "extension:") % cmd, {ext: doc}, indent=4,
+                       showdeprecated=True)
         rst.append('\n')
         rst.append(_('(use "hg help extensions" for information on enabling '
                    'extensions)\n'))