Show More
@@ -432,7 +432,8 b' def showindex(**args):' | |||||
432 | @templatekeyword('latesttag') |
|
432 | @templatekeyword('latesttag') | |
433 | def showlatesttag(**args): |
|
433 | def showlatesttag(**args): | |
434 | """List of strings. The global tags on the most recent globally |
|
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 | return showlatesttags(None, **args) |
|
438 | return showlatesttags(None, **args) | |
438 |
|
439 |
@@ -719,7 +719,9 b' def label(context, mapping, args):' | |||||
719 | @templatefunc('latesttag([pattern])') |
|
719 | @templatefunc('latesttag([pattern])') | |
720 | def latesttag(context, mapping, args): |
|
720 | def latesttag(context, mapping, args): | |
721 | """The global tags matching the given pattern on the |
|
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 | if len(args) > 1: |
|
725 | if len(args) > 1: | |
724 | # i18n: "latesttag" is a keyword |
|
726 | # i18n: "latesttag" is a keyword | |
725 | raise error.ParseError(_("latesttag expects at most one argument")) |
|
727 | raise error.ParseError(_("latesttag expects at most one argument")) |
General Comments 0
You need to be logged in to leave comments.
Login now