##// END OF EJS Templates
narrow: remove hack to write narrowspec to shared .hg directory...
Yuya Nishihara -
r39593:623081f2 default
parent child Browse files
Show More
@@ -841,11 +841,7 b' class localrepository(object):'
841 return self._narrowmatch
841 return self._narrowmatch
842
842
843 def setnarrowpats(self, newincludes, newexcludes):
843 def setnarrowpats(self, newincludes, newexcludes):
844 target = self
844 narrowspec.save(self, newincludes, newexcludes)
845 if self.shared():
846 from . import hg
847 target = hg.sharedreposource(self)
848 narrowspec.save(target, newincludes, newexcludes)
849 self.invalidate(clearfilecache=True)
845 self.invalidate(clearfilecache=True)
850
846
851 def __getitem__(self, changeid):
847 def __getitem__(self, changeid):
General Comments 0
You need to be logged in to leave comments. Login now