mercurial/dirstate.py
changeset 25234 3c346969c321
parent 25227 fd0f919170d2
child 25275 d94e403b5237
--- 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: