diff --git a/mercurial/minirst.py b/mercurial/minirst.py
--- a/mercurial/minirst.py
+++ b/mercurial/minirst.py
@@ -368,7 +368,7 @@ def inlineliterals(blocks):
return blocks
def hgrole(blocks):
- substs = [(':hg:`', '"hg '), ('`', '"')]
+ substs = [(':hg:`', "'hg "), ('`', "'")]
for b in blocks:
if b['type'] in ('paragraph', 'section'):
# Turn :hg:`command` into "hg command". This also works
diff --git a/tests/test-convert.t b/tests/test-convert.t
--- a/tests/test-convert.t
+++ b/tests/test-convert.t
@@ -57,7 +57,7 @@
The files will be added to the repository at the next commit. To
- undo an add before that, see "hg forget".
+ undo an add before that, see 'hg forget'.
If no names are given, add all files to the repository (except
@@ -2258,7 +2258,7 @@ Dish up an empty repo; serve it cold.
Examples:
-
New (unknown) files are added automatically by "hg add":
+
New (unknown) files are added automatically by 'hg add':
\$ ls (re)
foo.c
@@ -2425,8 +2425,8 @@ Dish up an empty repo; serve it cold.
This command schedules the files to be removed at the next commit.
- To undo a remove before that, see "hg revert". To undo added
- files, see "hg forget".
+ To undo a remove before that, see 'hg revert'. To undo added
+ files, see 'hg forget'.
-A/--after can be used to remove only files that have already
@@ -2438,7 +2438,7 @@ Dish up an empty repo; serve it cold.
The following table details the behavior of remove for different
file states (columns) and option combinations (rows). The file
states are Added [A], Clean [C], Modified [M] and Missing [!]
- (as reported by "hg status"). The actions are Warn, Remove
+ (as reported by 'hg status'). The actions are Warn, Remove
(from branch) and Delete (from disk):
@@ -2472,7 +2472,7 @@ Dish up an empty repo; serve it cold.
Note:
- "hg remove" never deletes files in Added [A] state from the
+ 'hg remove' never deletes files in Added [A] state from the
working directory, not even if "--force" is specified.
diff --git a/tests/test-minirst.py.out b/tests/test-minirst.py.out
--- a/tests/test-minirst.py.out
+++ b/tests/test-minirst.py.out
@@ -594,18 +594,18 @@ Debug output.
== roles ==
60 column format:
----------------------------------------------------------------------
-Please see "hg add".
+Please see 'hg add'.
----------------------------------------------------------------------
30 column format:
----------------------------------------------------------------------
-Please see "hg add".
+Please see 'hg add'.
----------------------------------------------------------------------
html format:
----------------------------------------------------------------------
-Please see "hg add".
+Please see 'hg add'.
----------------------------------------------------------------------
@@ -621,7 +621,7 @@ Section
Subsection
''''''''''
-Markup: "foo" and "hg help"
+Markup: "foo" and 'hg help'
---------------------------
----------------------------------------------------------------------
@@ -636,7 +636,7 @@ Section
Subsection
''''''''''
-Markup: "foo" and "hg help"
+Markup: "foo" and 'hg help'
---------------------------
----------------------------------------------------------------------
@@ -645,7 +645,7 @@ html format:
Title
Section
Subsection
-
Markup: "foo" and "hg help"
+
Markup: "foo" and 'hg help'
----------------------------------------------------------------------
== admonitions ==
diff --git a/tests/test-mq.t b/tests/test-mq.t
--- a/tests/test-mq.t
+++ b/tests/test-mq.t
@@ -25,7 +25,7 @@ help
Known patches are represented as patch files in the .hg/patches directory.
Applied patches are both patch files and changesets.
- Common tasks (use "hg help command" for more details):
+ Common tasks (use 'hg help command' for more details):
create new patch qnew
import existing patch qimport
@@ -49,14 +49,14 @@ help
will override the [diff] section and always generate git or regular patches,
possibly losing data in the second case.
- It may be desirable for mq changesets to be kept in the secret phase (see "hg
- help phases"), which can be enabled with the following setting:
+ It may be desirable for mq changesets to be kept in the secret phase (see 'hg
+ help phases'), which can be enabled with the following setting:
[mq]
secret = True
You will by default be managing a patch queue named "patches". You can create
- other, independent patch queues with the "hg qqueue" command.
+ other, independent patch queues with the 'hg qqueue' command.
If the working directory contains uncommitted files, qpush, qpop and qgoto
abort immediately. If -f/--force is used, the changes are discarded. Setting:
diff --git a/tests/test-notify.t b/tests/test-notify.t
--- a/tests/test-notify.t
+++ b/tests/test-notify.t
@@ -22,7 +22,7 @@
This extension implements hooks to send email notifications when changesets
are sent from or received by the local repository.
- First, enable the extension as explained in "hg help extensions", and register
+ First, enable the extension as explained in 'hg help extensions', and register
the hook you want to run. "incoming" and "changegroup" hooks are run when
changesets are received, while "outgoing" hooks are for changesets sent to
another repository:
diff --git a/tests/test-qrecord.t b/tests/test-qrecord.t
--- a/tests/test-qrecord.t
+++ b/tests/test-qrecord.t
@@ -30,10 +30,10 @@ help record (record)
interactively select changes to commit
- If a list of files is omitted, all changes reported by "hg status" will be
+ If a list of files is omitted, all changes reported by 'hg status' will be
candidates for recording.
- See "hg help dates" for a list of formats valid for -d/--date.
+ See 'hg help dates' for a list of formats valid for -d/--date.
You will be prompted for whether to record changes to each modified file,
and for files with multiple changes, for each change to use. For each
@@ -82,7 +82,7 @@ help (no mq, so no qrecord)
interactively record a new patch
- See "hg help qnew" & "hg help record" for more information and usage.
+ See 'hg help qnew' & 'hg help record' for more information and usage.
(some details hidden, use --verbose to show complete help)
@@ -114,7 +114,7 @@ help (bad mq)
interactively record a new patch
- See "hg help qnew" & "hg help record" for more information and usage.
+ See 'hg help qnew' & 'hg help record' for more information and usage.
(some details hidden, use --verbose to show complete help)
@@ -128,7 +128,7 @@ help (mq present)
interactively record a new patch
- See "hg help qnew" & "hg help record" for more information and usage.
+ See 'hg help qnew' & 'hg help record' for more information and usage.
options ([+] can be repeated):
diff --git a/tests/test-record.t b/tests/test-record.t
--- a/tests/test-record.t
+++ b/tests/test-record.t
@@ -17,10 +17,10 @@ Record help
interactively select changes to commit
- If a list of files is omitted, all changes reported by "hg status" will be
+ If a list of files is omitted, all changes reported by 'hg status' will be
candidates for recording.
- See "hg help dates" for a list of formats valid for -d/--date.
+ See 'hg help dates' for a list of formats valid for -d/--date.
You will be prompted for whether to record changes to each modified file,
and for files with multiple changes, for each change to use. For each