# HG changeset patch # User Martin von Zweigbergk # Date 1432055623 25200 # Node ID 3c346969c32111d604064cf751491f64fd14e525 # Parent 9789b4a7c595fb1cfe958404bbb4b28d69dbaebc dirstate: avoid match.files() in walk() diff -r 9789b4a7c595 -r 3c346969c321 mercurial/dirstate.py --- a/mercurial/dirstate.py Tue Oct 28 22:47:22 2014 -0700 +++ b/mercurial/dirstate.py Tue May 19 10:13:43 2015 -0700 @@ -759,7 +759,7 @@ if match.isexact(): # match.exact exact = True dirignore = util.always # skip step 2 - elif match.files() and not match.anypats(): # match.match, no patterns + elif match.prefix(): # match.match, no patterns skipstep3 = True if not exact and self._checkcase: