Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 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 | 308406677e9d |
children | ce0ad184f489 |
comparison
equal
deleted
inserted
replaced
16112:d7829b2ecf32 | 16113:3f75fb837638 |
---|---|
947 | 947 |
948 def unlock(): | 948 def unlock(): |
949 self.store.write() | 949 self.store.write() |
950 if self._dirtyphases: | 950 if self._dirtyphases: |
951 phases.writeroots(self) | 951 phases.writeroots(self) |
952 self._dirtyphases = False | |
952 for k, ce in self._filecache.items(): | 953 for k, ce in self._filecache.items(): |
953 if k == 'dirstate': | 954 if k == 'dirstate': |
954 continue | 955 continue |
955 ce.refresh() | 956 ce.refresh() |
956 | 957 |