##// END OF EJS Templates
match: match explicit file using a set...
marmoute -
r51286:81c7d04f stable
parent child Browse files
Show More
@@ -629,7 +629,12 b' class patternmatcher(basematcher):'
629 629
630 630 self._files = _explicitfiles(kindpats)
631 631 self._prefix = _prefix(kindpats)
632 self._pats, self.matchfn = _buildmatch(kindpats, b'$', root)
632 self._pats, self._matchfn = _buildmatch(kindpats, b'$', root)
633
634 def matchfn(self, fn):
635 if fn in self._fileset:
636 return True
637 return self._matchfn(fn)
633 638
634 639 @propertycache
635 640 def _dirs(self):
General Comments 0
You need to be logged in to leave comments. Login now