Mercurial > hg
diff CONTRIBUTING @ 35458:5bec509dc1ff
log: make "slowpath" condition slightly more readable
Before 8e0e334bad42 and 6c76c42a5893, the condition was "anypats() or
(files() and --removed)". This can be read as "<match is actually slow>
or <walk files including removed revs>". So "not always()" (i.e. walk
file revs) seems more appropriate here.
The logic should be unchanged:
not anypats() => always() or isexact() or prefix()
isexact() => not always()
prefix() => not always()
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 19 Dec 2017 21:41:39 +0900 |
parents | a492610a2fc1 |
children |