dirstate.invalidate: clear dirty flag
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Thu, 21 Jun 2007 00:34:14 -0300
changeset 4657 27a386b96557
parent 4656 4eeb91870d3b
child 4658 17f5d2069551
dirstate.invalidate: clear dirty flag
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Thu Jun 21 00:34:14 2007 -0300
+++ b/mercurial/dirstate.py	Thu Jun 21 00:34:14 2007 -0300
@@ -162,6 +162,7 @@
         for a in "_map _copymap _branch _pl _dirs _ignore".split():
             if hasattr(self, a):
                 self.__delattr__(a)
+        self._dirty = 0
 
     def copy(self, source, dest):
         self.markdirty()