##// END OF EJS Templates
localrepo: delete _phaserev when invalidating caches
Idan Kamara -
r15988:827e0126 stable
parent child Browse files
Show More
@@ -879,10 +879,14 b' class localrepository(repo.repository):'
879 return 0
879 return 0
880
880
881 def invalidatecaches(self):
881 def invalidatecaches(self):
882 try:
882 def delcache(name):
883 delattr(self, '_tagscache')
883 try:
884 except AttributeError:
884 delattr(self, name)
885 pass
885 except AttributeError:
886 pass
887
888 delcache('_tagscache')
889 delcache('_phaserev')
886
890
887 self._branchcache = None # in UTF-8
891 self._branchcache = None # in UTF-8
888 self._branchcachetip = None
892 self._branchcachetip = None
General Comments 0
You need to be logged in to leave comments. Login now