author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
Thu, 19 Jul 2007 19:43:25 -0300 | |
changeset 4935 | 6b3ed43f77ba |
parent 4934 | a11921d24ec4 |
child 4936 | 90be978c9d3d |
child 4943 | 3fdd09ad6cce |
--- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -164,8 +164,8 @@ class dirstate(object): def invalidate(self): for a in "_map _copymap _branch _pl _dirs _ignore".split(): - if hasattr(self, a): - self.__delattr__(a) + if a in self.__dict__: + delattr(self, a) self._dirty = 0 def copy(self, source, dest):