hgext/fsmonitor/__init__.py
changeset 32321 7df259077d4b
parent 32226 bf3af0eced44
child 32334 6e0d1043e8fc
equal deleted inserted replaced
32320:0e29ce16ec38 32321:7df259077d4b
   251     join = self._join
   251     join = self._join
   252     normcase = util.normcase
   252     normcase = util.normcase
   253     fresh_instance = False
   253     fresh_instance = False
   254 
   254 
   255     exact = skipstep3 = False
   255     exact = skipstep3 = False
   256     if matchfn == match.exact:  # match.exact
   256     if match.isexact():  # match.exact
   257         exact = True
   257         exact = True
   258         dirignore = util.always  # skip step 2
   258         dirignore = util.always  # skip step 2
   259     elif match.files() and not match.anypats():  # match.match, no patterns
   259     elif match.prefix():  # match.match, no patterns
   260         skipstep3 = True
   260         skipstep3 = True
   261 
   261 
   262     if not exact and self._checkcase:
   262     if not exact and self._checkcase:
   263         # note that even though we could receive directory entries, we're only
   263         # note that even though we could receive directory entries, we're only
   264         # interested in checking if a file with the same name exists. So only
   264         # interested in checking if a file with the same name exists. So only