--- a/mercurial/help.py Tue Aug 12 03:12:24 2014 -0500
+++ b/mercurial/help.py Tue Aug 12 03:18:50 2014 -0500
@@ -449,8 +449,8 @@
modcmds = set([c.split('|', 1)[0] for c in ct])
rst.extend(helplist(modcmds.__contains__))
else:
- rst.append(_('use "hg help extensions" for information on enabling '
- 'extensions\n'))
+ rst.append(_('(use "hg help extensions" for information on enabling'
+ ' extensions)\n'))
return rst
def helpextcmd(name):
@@ -461,8 +461,8 @@
rst = listexts(_("'%s' is provided by the following "
"extension:") % cmd, {ext: doc}, indent=4)
rst.append('\n')
- rst.append(_('use "hg help extensions" for information on enabling '
- 'extensions\n'))
+ rst.append(_('(use "hg help extensions" for information on enabling '
+ 'extensions)\n'))
return rst
--- a/tests/test-extension.t Tue Aug 12 03:12:24 2014 -0500
+++ b/tests/test-extension.t Tue Aug 12 03:18:50 2014 -0500
@@ -588,7 +588,7 @@
patchbomb command to send changesets as (a series of) patch emails
- use "hg help extensions" for information on enabling extensions
+ (use "hg help extensions" for information on enabling extensions)
$ hg qdel
@@ -597,7 +597,7 @@
mq manage a stack of patches
- use "hg help extensions" for information on enabling extensions
+ (use "hg help extensions" for information on enabling extensions)
[255]
@@ -607,7 +607,7 @@
churn command to display statistics about repository history
- use "hg help extensions" for information on enabling extensions
+ (use "hg help extensions" for information on enabling extensions)
[255]
@@ -617,12 +617,12 @@
$ hg help churn
churn extension - command to display statistics about repository history
- use "hg help extensions" for information on enabling extensions
+ (use "hg help extensions" for information on enabling extensions)
$ hg help patchbomb
patchbomb extension - command to send changesets as (a series of) patch emails
- use "hg help extensions" for information on enabling extensions
+ (use "hg help extensions" for information on enabling extensions)
Broken disabled extension and command:
@@ -642,7 +642,7 @@
$ hg --config extensions.path=./path.py help broken
broken extension - (no help text available)
- use "hg help extensions" for information on enabling extensions
+ (use "hg help extensions" for information on enabling extensions)
$ cat > hgext/forest.py <<EOF
--- a/tests/test-qrecord.t Tue Aug 12 03:12:24 2014 -0500
+++ b/tests/test-qrecord.t Tue Aug 12 03:18:50 2014 -0500
@@ -9,7 +9,7 @@
record extension - commands to interactively select changes for
commit/qrefresh
- use "hg help extensions" for information on enabling extensions
+ (use "hg help extensions" for information on enabling extensions)
help qrecord (no record)
@@ -18,7 +18,7 @@
record commands to interactively select changes for commit/qrefresh
- use "hg help extensions" for information on enabling extensions
+ (use "hg help extensions" for information on enabling extensions)
$ echo "[extensions]" >> $HGRCPATH
$ echo "record=" >> $HGRCPATH