diff -r 4e27b06a0fd9 -r cfeab932cff7 mercurial/localrepo.py --- a/mercurial/localrepo.py Sat Jan 12 16:04:29 2013 +0100 +++ b/mercurial/localrepo.py Sun Dec 16 23:13:02 2012 +0200 @@ -1015,7 +1015,7 @@ if hasunfilteredcache(self, '_phasecache'): self._phasecache.write() for k, ce in self._filecache.items(): - if k == 'dirstate': + if k == 'dirstate' or k not in self.__dict__: continue ce.refresh()