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