changeset 4657:27a386b96557

dirstate.invalidate: clear dirty flag
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Thu, 21 Jun 2007 00:34:14 -0300
parents 4eeb91870d3b
children 17f5d2069551
files mercurial/dirstate.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -162,6 +162,7 @@ class dirstate(object):
         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()