mercurial/dirstate.py
changeset 4657 27a386b96557
parent 4656 4eeb91870d3b
child 4677 de8ec7e1753a
--- 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()