changeset 38144: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 c3960c7e66fa
children 6f67bfe4b82f
files mercurial/templatefuncs.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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"))