##// END OF EJS Templates
narrow: drop now-unnecessary reassignment of repo attributes...
Martin von Zweigbergk -
r41271:a2ae2799 default
parent child Browse files
Show More
@@ -1261,12 +1261,6 b' class localrepository(object):'
1261 narrowspec.save(self, newincludes, newexcludes)
1261 narrowspec.save(self, newincludes, newexcludes)
1262 narrowspec.copytoworkingcopy(self)
1262 narrowspec.copytoworkingcopy(self)
1263 self.invalidate(clearfilecache=True)
1263 self.invalidate(clearfilecache=True)
1264 # So the next access won't be considered a conflict
1265 # TODO: It seems like there should be a way of doing this that
1266 # doesn't involve replacing these attributes.
1267 self.narrowpats = newincludes, newexcludes
1268 self._narrowmatch = narrowspec.match(self.root, include=newincludes,
1269 exclude=newexcludes)
1270
1264
1271 def __getitem__(self, changeid):
1265 def __getitem__(self, changeid):
1272 if changeid is None:
1266 if changeid is None:
General Comments 0
You need to be logged in to leave comments. Login now