--- 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