mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
99689724c6
This allows the latest class of tag to be found, such as a release candidate or final build, instead of just the absolute latest. It doesn't appear that the existing keyword can be given an optional argument. There is a keyword, function and filter for 'date', so it doesn't seem harmful to introduce a new function with the same name as an existing keyword. Most functions are pretty Mercurial agnostic, but there is {revset()} as precedent. Even though templatekw.getlatesttags() returns a single tuple, one entry of which is a list, it is simplest to present this as a list of tags instead of a single item, with each tag having a distance and change count attribute. It is also closer to how {latesttag} returns a list of tags, and how this function works when not given a '%' operator. |
||
---|---|---|
.. | ||
common.txt | ||
config.txt | ||
dates.txt | ||
diffs.txt | ||
environment.txt | ||
extensions.txt | ||
filesets.txt | ||
glossary.txt | ||
hg.1.txt | ||
hgignore.5.txt | ||
hgignore.txt | ||
hgrc.5.txt | ||
hgweb.txt | ||
merge-tools.txt | ||
multirevs.txt | ||
patterns.txt | ||
phases.txt | ||
revisions.txt | ||
revsets.txt | ||
scripting.txt | ||
subrepos.txt | ||
templates.txt | ||
urls.txt |