help: mention pattern syntax of latesttag() template function
authorYuya Nishihara <yuya@tcha.org>
Thu, 24 May 2018 23:26:28 +0900
changeset 38144 bd7a3fa71a72
parent 38143 c3960c7e66fa
child 38145 6f67bfe4b82f
help: mention pattern syntax of latesttag() template function
mercurial/templatefuncs.py
--- 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"))