Mercurial > hg-stable
changeset 22112:d968f4741a22
help: normalize extension shadow hint
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 12 Aug 2014 03:12:24 -0500 |
parents | aa5e256839d5 |
children | 2d2cb5e50095 |
files | mercurial/help.py tests/test-extension.t tests/test-strip.t |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help.py Tue Aug 12 03:09:26 2014 -0500 +++ b/mercurial/help.py Tue Aug 12 03:12:24 2014 -0500 @@ -276,8 +276,8 @@ mod = extensions.find(name) doc = gettext(mod.__doc__) or '' if '\n' in doc.strip(): - msg = _('use "hg help -e %s" to show help for ' - 'the %s extension') % (name, name) + msg = _('(use "hg help -e %s" to show help for ' + 'the %s extension)') % (name, name) rst.append('\n%s\n' % msg) except KeyError: pass
--- a/tests/test-extension.t Tue Aug 12 03:09:26 2014 -0500 +++ b/tests/test-extension.t Tue Aug 12 03:12:24 2014 -0500 @@ -388,7 +388,7 @@ compared to the working directory, and, when no revisions are specified, the working directory files are compared to its parent. - use "hg help -e extdiff" to show help for the extdiff extension + (use "hg help -e extdiff" to show help for the extdiff extension) options:
--- a/tests/test-strip.t Tue Aug 12 03:09:26 2014 -0500 +++ b/tests/test-strip.t Tue Aug 12 03:12:24 2014 -0500 @@ -532,7 +532,7 @@ strip changesets and all their descendants from the repository - use "hg help -e strip" to show help for the strip extension + (use "hg help -e strip" to show help for the strip extension) options: