Mercurial > public > mercurial-scm > hg-stable
diff mercurial/templatefuncs.py @ 38177:bd7a3fa71a72
help: mention pattern syntax of latesttag() template function
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 24 May 2018 23:26:28 +0900 |
parents | faa41fd282d1 |
children | d48b80d58848 |
line wrap: on
line diff
--- a/mercurial/templatefuncs.py Wed May 23 22:25:00 2018 -0400 +++ b/mercurial/templatefuncs.py Thu May 24 23:26:28 2018 +0900 @@ -360,7 +360,9 @@ """The global tags matching the given pattern on the most recent globally tagged ancestor of this changeset. If no such tags exist, the "{tag}" template resolves to - the string "null".""" + the string "null". See :hg:`help revisions.patterns` for the pattern + syntax. + """ if len(args) > 1: # i18n: "latesttag" is a keyword raise error.ParseError(_("latesttag expects at most one argument"))