Mercurial > hg
comparison mercurial/configitems.py @ 38577:76838305b9dd
match: add basic wrapper for boolean function
This serves as a generic wrapper for fileset predicates. In future patches,
a fileset expression will be mapped to a tree of matchers for a better support
of match attributes such as visitdir(). For example,
$ hg debugwalk -v 'set:contrib/** and binary()'
* matcher:
<intersectionmatcher
m1=<patternmatcher patterns='(?:contrib/.*$)'>,
m2=<predicatematcher pred=binary>>
...
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 09 Jun 2018 21:13:24 +0900 |
parents | 85da230c316a |
children | be441eb65f09 |
comparison
equal
deleted
inserted
replaced
38576:a3130208db1c | 38577:76838305b9dd |
---|