# HG changeset patch # User Matt Mackall # Date 1407831144 18000 # Node ID d968f4741a22cbe86d6cd4517d8a52eace249056 # Parent aa5e256839d52bf7977f8c8e1e3806011575446b help: normalize extension shadow hint diff -r aa5e256839d5 -r d968f4741a22 mercurial/help.py --- 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 diff -r aa5e256839d5 -r d968f4741a22 tests/test-extension.t --- 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: diff -r aa5e256839d5 -r d968f4741a22 tests/test-strip.t --- 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: