Mercurial > hg
diff COPYING @ 20518:1e43f15a647f
template: add ifcontains template function
Adds a template function with the signature 'ifcontains(item, set, then[,
else])'. It can be used to do things like '{ifcontains('.hgignore',
file_mods, label(...), ...)}' to color commits that edit the .hgignore file.
A future patch will add the revset() function which will combine with
ifcontains to allow us to color commits if they are in the revset.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 11 Feb 2014 21:10:00 -0800 |
parents | 8c8b55733cbd |
children |