diff -r 5dcc58649b1a -r 37f46575d9c2 mercurial/localrepo.py --- a/mercurial/localrepo.py Thu Aug 07 14:41:00 2014 -0700 +++ b/mercurial/localrepo.py Thu Aug 07 14:11:36 2014 -0700 @@ -1089,8 +1089,6 @@ return l def unlock(): - if hasunfilteredcache(self, '_phasecache'): - self._phasecache.write() for k, ce in self._filecache.items(): if k == 'dirstate' or k not in self.__dict__: continue