# HG changeset patch # User Yuya Nishihara # Date 1527171988 -32400 # Node ID bd7a3fa71a72666691b8b77e6bf03be1d2273391 # Parent c3960c7e66fad7436f1a550ef1de693a635faa3a help: mention pattern syntax of latesttag() template function diff -r c3960c7e66fa -r bd7a3fa71a72 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"))