comparison mercurial/compat.h @ 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 f4433f2713d0
children 11ed2eadf937
comparison
equal deleted inserted replaced
35457:2c47986505ff 35458:5bec509dc1ff