[PATCH] localrepo: reset _phasesdirty flag after writing

Idan Kamara idankk86 at gmail.com
Wed Feb 15 21:49:33 UTC 2012


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1329342555 -7200
# Branch stable
# Node ID ca5e559a338e3419f96bba794e997b2ccd91e3fe
# Parent  01ca8708e42c23c9b9c977d4b9ad55870df3337f
localrepo: reset _phasesdirty flag after writing

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -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



More information about the Mercurial-devel mailing list