[PATCH 3 of 5 STABLE] doc: use correct cross reference in help documentation

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Mon Feb 1 08:15:04 EST 2016


# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1454332437 -32400
#      Mon Feb 01 22:13:57 2016 +0900
# Branch stable
# Node ID 60d589034db552380d6dbac02413961195edec4a
# Parent  507bc371dcb433e98dd996b253db850c53082223
doc: use correct cross reference in help documentation

This patch fixes problems below:

  - ":hg:" role should be followed by not '"' but '`'
  - there is a help topic not "default-push" but "config.default-push"

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -892,7 +892,7 @@ def histedit(ui, repo, *freeargs, **opts
     - Specify ANCESTOR directly
 
     - Use --outgoing -- it will be the first linear changeset not
-      included in destination. (See :hg:"help default-push")
+      included in destination. (See :hg:`help config.default-push`)
 
     - Otherwise, the value from the "histedit.defaultrev" config option
       is used as a revset to select the base revision when ANCESTOR is not


More information about the Mercurial-devel mailing list