Mercurial > hg-stable
comparison mercurial/minifileset.py @ 38866:6371ab78c3b3
fileset: add phase to transform parsed tree
This isn't strictly necessary, but I decided to just follow the strategy
of the revset parsing.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 Jul 2018 16:11:36 +0900 |
parents | 4fe8d1f077b8 |
children | 48fc2a8af345 |
comparison
equal
deleted
inserted
replaced
38865:8a9f6076e60c | 38866:6371ab78c3b3 |
---|---|
87 example, will catch all php files whose size is greater than 10 MB, all | 87 example, will catch all php files whose size is greater than 10 MB, all |
88 files whose name ends with ".zip", and all files under "bin" in the repo | 88 files whose name ends with ".zip", and all files under "bin" in the repo |
89 root except for "bin/README". | 89 root except for "bin/README". |
90 """ | 90 """ |
91 tree = filesetlang.parse(text) | 91 tree = filesetlang.parse(text) |
92 tree = filesetlang.analyze(tree) | |
92 return _compile(tree) | 93 return _compile(tree) |