Mercurial > public > mercurial-scm > hg-stable
diff tests/test-help.t @ 30012: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 |
line wrap: on
line diff
--- a/tests/test-help.t Sat Sep 17 17:02:56 2016 +1000 +++ b/tests/test-help.t Fri Sep 23 08:15:05 2016 +0000 @@ -1551,6 +1551,9 @@ $ hg help template.files files List of strings. All files modified, added, or removed by this changeset. + files(pattern) + All files of the current changeset matching the pattern. See + 'hg help patterns'. Test section lookup by translated message