##// END OF EJS Templates
match: don't remove '.' from _includeroots...
Martin von Zweigbergk -
r25579:b76410ee default
parent child Browse files
Show More
@@ -126,7 +126,6 b' class match(object):'
126 126 self.includepat, im = _buildmatch(ctx, kindpats, '(?:/|$)',
127 127 listsubrepos, root)
128 128 self._includeroots.update(_roots(kindpats))
129 self._includeroots.discard('.')
130 129 self._includedirs.update(util.dirs(self._includeroots))
131 130 matchfns.append(im)
132 131 if exclude:
@@ -225,6 +224,7 b' class match(object):'
225 224 if dir in self._excluderoots:
226 225 return False
227 226 if (self._includeroots and
227 '.' not in self._includeroots and
228 228 dir not in self._includeroots and
229 229 dir not in self._includedirs and
230 230 not any(parent in self._includeroots
General Comments 0
You need to be logged in to leave comments. Login now