equal
deleted
inserted
replaced
1250 return matchmod.intersectmatchers(match, self._narrowmatch) |
1250 return matchmod.intersectmatchers(match, self._narrowmatch) |
1251 return self._narrowmatch |
1251 return self._narrowmatch |
1252 |
1252 |
1253 def setnarrowpats(self, newincludes, newexcludes): |
1253 def setnarrowpats(self, newincludes, newexcludes): |
1254 narrowspec.save(self, newincludes, newexcludes) |
1254 narrowspec.save(self, newincludes, newexcludes) |
1255 narrowspec.copytoworkingcopy(self, self.currenttransaction()) |
1255 narrowspec.copytoworkingcopy(self) |
1256 self.invalidate(clearfilecache=True) |
1256 self.invalidate(clearfilecache=True) |
1257 # So the next access won't be considered a conflict |
1257 # So the next access won't be considered a conflict |
1258 # TODO: It seems like there should be a way of doing this that |
1258 # TODO: It seems like there should be a way of doing this that |
1259 # doesn't involve replacing these attributes. |
1259 # doesn't involve replacing these attributes. |
1260 self.narrowpats = newincludes, newexcludes |
1260 self.narrowpats = newincludes, newexcludes |