--- 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"))