Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 16128:004982e5d782
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 16 Feb 2012 16:40:29 -0600 |
parents | b254f827b7a6 ce0ad184f489 |
children | a01d2fb5ba65 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Feb 16 15:58:51 2012 -0600 +++ b/mercurial/localrepo.py Thu Feb 16 16:40:29 2012 -0600 @@ -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 @@ -1323,6 +1324,9 @@ # tag cache retrieval" case to work. self.invalidatecaches() + # Discard all cache entries to force reloading everything. + self._filecache.clear() + def walk(self, match, node=None): ''' walk recursively through the directory tree or a given