localrepo: reset _phasesdirty flag after writing stable
authorIdan Kamara <idankk86@gmail.com>
Wed, 15 Feb 2012 23:49:15 +0200
branchstable
changeset 16113 3f75fb837638
parent 16112 d7829b2ecf32
child 16114 acfca07a8f26
localrepo: reset _phasesdirty flag after writing
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Thu Feb 16 13:03:42 2012 +0100
+++ b/mercurial/localrepo.py	Wed Feb 15 23:49:15 2012 +0200
@@ -949,6 +949,7 @@
             self.store.write()
             if self._dirtyphases:
                 phases.writeroots(self)
+                self._dirtyphases = False
             for k, ce in self._filecache.items():
                 if k == 'dirstate':
                     continue