[PATCH 5 of 6 STABLE] doc: fix incorrect use of rst hg role in help text

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Sun Jul 31 17:41:05 EDT 2016


# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1469999307 -32400
#      Mon Aug 01 06:08:27 2016 +0900
# Branch stable
# Node ID d6cf79c9ab9e7805c2cd5aba542fe7ff8cf24d84
# Parent  f6b7e8084d187c919af669015975f4fb75eae4d8
doc: fix incorrect use of rst hg role in help text

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4838,7 +4838,7 @@ def import_(ui, repo, patch1=None, *patc
     resulting changeset has a different ID than the one recorded in
     the patch. This will guard against various ways that portable
     patch formats and mail systems might fail to transfer Mercurial
-    data or metadata. See ':hg: bundle' for lossless transmission.
+    data or metadata. See :hg:`bundle` for lossless transmission.
 
     Use --partial to ensure a changeset will be created from the patch
     even if some hunks fail to apply. Hunks that fail to apply will be
diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -1742,7 +1742,7 @@ User interface controls.
     Possible values are 'text' and 'curses'.
 
 ``interface.chunkselector``
-    Select the interface for change recording (e.g. :hg:`commit` -i).
+    Select the interface for change recording (e.g. :hg:`commit -i`).
     Possible values are 'text' and 'curses'.
     This config overrides the interface specified by ui.interface.
 


More information about the Mercurial-devel mailing list