# HG changeset patch # User Idan Kamara # Date 1357756613 -7200 # Node ID 3c3855470b191eff403bdf68d747004fdac434b2 # Parent 3e4a944c0d044dfe1d1d3e827727bbcd73820667 rollback: don't clear the filecache This was an old workaround to force the filecache to reload everything. Now that the syncing issue is fixed, we no longer need it. diff -r 3e4a944c0d04 -r 3c3855470b19 mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Jan 09 20:37:44 2013 +0200 +++ b/mercurial/localrepo.py Wed Jan 09 20:36:53 2013 +0200 @@ -905,9 +905,6 @@ self.sjoin('phaseroots')) self.invalidate() - # Discard all cache entries to force reloading everything. - self._filecache.clear() - parentgone = (parents[0] not in self.changelog.nodemap or parents[1] not in self.changelog.nodemap) if parentgone: