# HG changeset patch
# User timeless
# Date 1452578616 0
# Node ID 58f8b29c37ff0724b8e6aa0fa61dd812283c117e
# Parent 294037159c6443f46f18dc7200f36c568874a2da
minirst: change hgrole to use single quotes
We decided to reserve double quotes for arguments to hg because cmd
does not like single quotes, so switch the outer quotes to single
diff -r 294037159c64 -r 58f8b29c37ff mercurial/minirst.py
--- a/mercurial/minirst.py Sun Dec 13 22:09:57 2015 +0900
+++ b/mercurial/minirst.py Tue Jan 12 06:03:36 2016 +0000
@@ -368,7 +368,7 @@
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 -r 294037159c64 -r 58f8b29c37ff tests/test-convert.t
--- a/tests/test-convert.t Sun Dec 13 22:09:57 2015 +0900
+++ b/tests/test-convert.t Tue Jan 12 06:03:36 2016 +0000
@@ -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 @@
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 @@
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 @@
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 @@
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 -r 294037159c64 -r 58f8b29c37ff tests/test-minirst.py.out
--- a/tests/test-minirst.py.out Sun Dec 13 22:09:57 2015 +0900
+++ b/tests/test-minirst.py.out Tue Jan 12 06:03:36 2016 +0000
@@ -594,18 +594,18 @@
== 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:
----------------------------------------------------------------------
----------------------------------------------------------------------
== admonitions ==
diff -r 294037159c64 -r 58f8b29c37ff tests/test-mq.t
--- a/tests/test-mq.t Sun Dec 13 22:09:57 2015 +0900
+++ b/tests/test-mq.t Tue Jan 12 06:03:36 2016 +0000
@@ -25,7 +25,7 @@
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 @@
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 -r 294037159c64 -r 58f8b29c37ff tests/test-notify.t
--- a/tests/test-notify.t Sun Dec 13 22:09:57 2015 +0900
+++ b/tests/test-notify.t Tue Jan 12 06:03:36 2016 +0000
@@ -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 -r 294037159c64 -r 58f8b29c37ff tests/test-qrecord.t
--- a/tests/test-qrecord.t Sun Dec 13 22:09:57 2015 +0900
+++ b/tests/test-qrecord.t Tue Jan 12 06:03:36 2016 +0000
@@ -30,10 +30,10 @@
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 @@
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 @@
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 @@
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 -r 294037159c64 -r 58f8b29c37ff tests/test-record.t
--- a/tests/test-record.t Sun Dec 13 22:09:57 2015 +0900
+++ b/tests/test-record.t Tue Jan 12 06:03:36 2016 +0000
@@ -17,10 +17,10 @@
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