changeset 16113:3f75fb837638 stable

localrepo: reset _phasesdirty flag after writing
author Idan Kamara <idankk86@gmail.com>
date Wed, 15 Feb 2012 23:49:15 +0200
parents d7829b2ecf32
children acfca07a8f26
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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