Mercurial > hg
diff tests/test-commit-amend.t @ 24384:5cb459dc32d2
walkchangerevs: simplify by using match.always() method
Since "slowpath = match.anypats() or (match.files() and
opts.get('removed'))", we can simplify the condition "not slowpath and
not match.files()" to "not match.anypats() and not match.files()",
which is equivalent to "match.always()".
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 28 Oct 2014 22:32:18 -0700 |
parents | f903689680e6 |
children | 1ef96a3b8b89 ed18f4acf435 |