Mercurial > hg
comparison tests/test-help.t @ 30008:e83f89d3b1f7
templates: add built-in files() function
We already support multiple primitive for listing files, which were
affected by the current changeset.
This patch adds files() which returns files of the current changeset
matching a given pattern or fileset query via the "set:" prefix.
author | Hannes Oldenburg <hannes.christian.oldenburg@gmail.com> |
---|---|
date | Fri, 23 Sep 2016 08:15:05 +0000 |
parents | 40ffa8bff73a |
children | 6ca3c54f801b |
comparison
equal
deleted
inserted
replaced
30007:aca0954d3739 | 30008:e83f89d3b1f7 |
---|---|
1549 [255] | 1549 [255] |
1550 | 1550 |
1551 $ hg help template.files | 1551 $ hg help template.files |
1552 files List of strings. All files modified, added, or removed by | 1552 files List of strings. All files modified, added, or removed by |
1553 this changeset. | 1553 this changeset. |
1554 files(pattern) | |
1555 All files of the current changeset matching the pattern. See | |
1556 'hg help patterns'. | |
1554 | 1557 |
1555 Test section lookup by translated message | 1558 Test section lookup by translated message |
1556 | 1559 |
1557 str.lower() instead of encoding.lower(str) on translated message might | 1560 str.lower() instead of encoding.lower(str) on translated message might |
1558 make message meaningless, because some encoding uses 0x41(A) - 0x5a(Z) | 1561 make message meaningless, because some encoding uses 0x41(A) - 0x5a(Z) |