##// END OF EJS Templates
help: make help deprecated mention the extension...
timeless -
r27152:ac27b1b3 default
parent child Browse files
Show More
@@ -474,7 +474,8 b' def help_(ui, name, unknowncmd=False, fu'
474 doc = gettext(mod.__doc__).splitlines()[0]
474 doc = gettext(mod.__doc__).splitlines()[0]
475
475
476 rst = listexts(_("'%s' is provided by the following "
476 rst = listexts(_("'%s' is provided by the following "
477 "extension:") % cmd, {ext: doc}, indent=4)
477 "extension:") % cmd, {ext: doc}, indent=4,
478 showdeprecated=True)
478 rst.append('\n')
479 rst.append('\n')
479 rst.append(_('(use "hg help extensions" for information on enabling '
480 rst.append(_('(use "hg help extensions" for information on enabling '
480 'extensions)\n'))
481 'extensions)\n'))
@@ -367,6 +367,15 b' hide outer repo'
367
367
368 $ echo 'debugextension = !' >> $HGRCPATH
368 $ echo 'debugextension = !' >> $HGRCPATH
369
369
370 Asking for help about a deprecated extension should do something useful:
371
372 $ hg help glog
373 'glog' is provided by the following extension:
374
375 graphlog command to view revision graphs from a shell (DEPRECATED)
376
377 (use "hg help extensions" for information on enabling extensions)
378
370 Extension module help vs command help:
379 Extension module help vs command help:
371
380
372 $ echo 'extdiff =' >> $HGRCPATH
381 $ echo 'extdiff =' >> $HGRCPATH
General Comments 0
You need to be logged in to leave comments. Login now