changeset 30799:0b49449a01f4

help: use :hg: role and canonical name to point to revset string patterns Follows up 5dd67f0993ce. Now revisions.txt and revsets.txt has been merged, so use revisions.* as a pointer.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 13 Jan 2017 23:48:21 +0900
parents f50c0db50025
children cd23879cbac7
files mercurial/revset.py
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Mon Jan 02 13:27:20 2017 -0800
+++ b/mercurial/revset.py	Fri Jan 13 23:48:21 2017 +0900
@@ -588,7 +588,7 @@
 def bookmark(repo, subset, x):
     """The named bookmark or all bookmarks.
 
-    Pattern matching is supported for `name`. See ``hg help revsets.patterns``.
+    Pattern matching is supported for `name`. See :hg:`help revisions.patterns`.
     """
     # i18n: "bookmark" is a keyword
     args = getargs(x, 0, 1, _('bookmark takes one or no arguments'))
@@ -627,7 +627,7 @@
     changesets.
 
     Pattern matching is supported for `string`. See
-    ``hg help revsets.patterns``.
+    :hg:`help revisions.patterns`.
     """
     getbi = repo.revbranchcache().branchinfo
 
@@ -813,7 +813,7 @@
     """Search commit message for string. The match is case-insensitive.
 
     Pattern matching is supported for `string`. See
-    ``hg help revsets.patterns``.
+    :hg:`help revisions.patterns`.
     """
     # i18n: "desc" is a keyword
     ds = getstring(x, _("desc requires a string"))
@@ -924,7 +924,7 @@
     optional value.
 
     Pattern matching is supported for `value`. See
-    ``hg help revsets.patterns``.
+    :hg:`help revisions.patterns`.
     """
     args = getargsdict(x, 'extra', 'label value')
     if 'label' not in args:
@@ -1405,7 +1405,7 @@
     """The changesets in a given namespace.
 
     Pattern matching is supported for `namespace`. See
-    ``hg help revsets.patterns``.
+    :hg:`help revisions.patterns`.
     """
     # i18n: "named" is a keyword
     args = getargs(x, 1, 1, _('named requires a namespace argument'))
@@ -2262,7 +2262,7 @@
     """The specified tag by name, or all tagged revisions if no name is given.
 
     Pattern matching is supported for `name`. See
-    ``hg help revsets.patterns``.
+    :hg:`help revisions.patterns`.
     """
     # i18n: "tag" is a keyword
     args = getargs(x, 0, 1, _("tag takes one or no arguments"))
@@ -2304,7 +2304,7 @@
     """User name contains string. The match is case-insensitive.
 
     Pattern matching is supported for `string`. See
-    ``hg help revsets.patterns``.
+    :hg:`help revisions.patterns`.
     """
     return author(repo, subset, x)