diff -r f50c0db50025 -r 0b49449a01f4 mercurial/revset.py --- 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)