##// END OF EJS Templates
templatekw: clarify the result of {latesttag} when no tag exists...
Matt Harbison -
r31850:f0d719e5 default
parent child Browse files
Show More
@@ -432,7 +432,8 b' def showindex(**args):'
432 432 @templatekeyword('latesttag')
433 433 def showlatesttag(**args):
434 434 """List of strings. The global tags on the most recent globally
435 tagged ancestor of this changeset.
435 tagged ancestor of this changeset. If no such tags exist, the list
436 consists of the single string "null".
436 437 """
437 438 return showlatesttags(None, **args)
438 439
@@ -719,7 +719,9 b' def label(context, mapping, args):'
719 719 @templatefunc('latesttag([pattern])')
720 720 def latesttag(context, mapping, args):
721 721 """The global tags matching the given pattern on the
722 most recent globally tagged ancestor of this changeset."""
722 most recent globally tagged ancestor of this changeset.
723 If no such tags exist, the "{tag}" template resolves to
724 the string "null"."""
723 725 if len(args) > 1:
724 726 # i18n: "latesttag" is a keyword
725 727 raise error.ParseError(_("latesttag expects at most one argument"))
General Comments 0
You need to be logged in to leave comments. Login now