hgext/fsmonitor/__init__.py
changeset 32321 7df259077d4b
parent 32226 bf3af0eced44
child 32334 6e0d1043e8fc
--- a/hgext/fsmonitor/__init__.py	Wed May 17 20:51:17 2017 -0500
+++ b/hgext/fsmonitor/__init__.py	Wed May 17 23:54:43 2017 -0700
@@ -253,10 +253,10 @@
     fresh_instance = False
 
     exact = skipstep3 = False
-    if matchfn == match.exact:  # match.exact
+    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: