##// END OF EJS Templates
match: fix bug in match.visitdir()...
Drew Gottlieb -
r25250:f9a29dc9 default
parent child Browse files
Show More
@@ -197,7 +197,7 b' class match(object):'
197 parentdirs = None
197 parentdirs = None
198 if (self._includeroots and dir not in self._includeroots and
198 if (self._includeroots and dir not in self._includeroots and
199 dir not in self._includedirs):
199 dir not in self._includedirs):
200 parentdirs = util.finddirs(dir)
200 parentdirs = list(util.finddirs(dir))
201 if not any(parent in self._includeroots for parent in parentdirs):
201 if not any(parent in self._includeroots for parent in parentdirs):
202 return False
202 return False
203 return (not self._fileroots or '.' in self._fileroots or
203 return (not self._fileroots or '.' in self._fileroots or
General Comments 0
You need to be logged in to leave comments. Login now