##// END OF EJS Templates
help: mention pattern syntax of latesttag() template function
Yuya Nishihara -
r38161:bd7a3fa7 default
parent child Browse files
Show More
@@ -360,7 +360,9 b' def latesttag(context, mapping, args):'
360 """The global tags matching the given pattern on the
360 """The global tags matching the given pattern on the
361 most recent globally tagged ancestor of this changeset.
361 most recent globally tagged ancestor of this changeset.
362 If no such tags exist, the "{tag}" template resolves to
362 If no such tags exist, the "{tag}" template resolves to
363 the string "null"."""
363 the string "null". See :hg:`help revisions.patterns` for the pattern
364 syntax.
365 """
364 if len(args) > 1:
366 if len(args) > 1:
365 # i18n: "latesttag" is a keyword
367 # i18n: "latesttag" is a keyword
366 raise error.ParseError(_("latesttag expects at most one argument"))
368 raise error.ParseError(_("latesttag expects at most one argument"))
General Comments 0
You need to be logged in to leave comments. Login now