##// END OF EJS Templates
py3: invalidate repository cache with system-string keys...
Yuya Nishihara -
r40396:dee73a97 default
parent child Browse files
Show More
@@ -3511,9 +3511,9 b' def reposetup(ui, repo):'
3511
3511
3512 def invalidateall(self):
3512 def invalidateall(self):
3513 super(mqrepo, self).invalidateall()
3513 super(mqrepo, self).invalidateall()
3514 if localrepo.hasunfilteredcache(self, 'mq'):
3514 if localrepo.hasunfilteredcache(self, r'mq'):
3515 # recreate mq in case queue path was changed
3515 # recreate mq in case queue path was changed
3516 delattr(self.unfiltered(), 'mq')
3516 delattr(self.unfiltered(), r'mq')
3517
3517
3518 def abortifwdirpatched(self, errmsg, force=False):
3518 def abortifwdirpatched(self, errmsg, force=False):
3519 if self.mq.applied and self.mq.checkapplied and not force:
3519 if self.mq.applied and self.mq.checkapplied and not force:
@@ -2047,9 +2047,9 b' class localrepository(object):'
2047
2047
2048 def invalidatecaches(self):
2048 def invalidatecaches(self):
2049
2049
2050 if '_tagscache' in vars(self):
2050 if r'_tagscache' in vars(self):
2051 # can't use delattr on proxy
2051 # can't use delattr on proxy
2052 del self.__dict__['_tagscache']
2052 del self.__dict__[r'_tagscache']
2053
2053
2054 self.unfiltered()._branchcaches.clear()
2054 self.unfiltered()._branchcaches.clear()
2055 self.invalidatevolatilesets()
2055 self.invalidatevolatilesets()
General Comments 0
You need to be logged in to leave comments. Login now