##// END OF EJS Templates
don't use hasattr in repo.invalidate...
Alexis S. L. Carvalho -
r6371:b2f1d97d default
parent child Browse files
Show More
@@ -633,8 +633,8 b' class localrepository(repo.repository):'
633
633
634 def invalidate(self):
634 def invalidate(self):
635 for a in "changelog manifest".split():
635 for a in "changelog manifest".split():
636 if hasattr(self, a):
636 if a in self.__dict__:
637 self.__delattr__(a)
637 delattr(self, a)
638 self.tagscache = None
638 self.tagscache = None
639 self._tagstypecache = None
639 self._tagstypecache = None
640 self.nodetagscache = None
640 self.nodetagscache = None
General Comments 0
You need to be logged in to leave comments. Login now