##// 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 634 def invalidate(self):
635 635 for a in "changelog manifest".split():
636 if hasattr(self, a):
637 self.__delattr__(a)
636 if a in self.__dict__:
637 delattr(self, a)
638 638 self.tagscache = None
639 639 self._tagstypecache = None
640 640 self.nodetagscache = None
General Comments 0
You need to be logged in to leave comments. Login now