[PATCH 06 of 10 v2] rollback: don't clear the filecache
Idan Kamara
idankk86 at gmail.com
Thu Jan 10 22:10:53 UTC 2013
# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1357756613 -7200
# Node ID de68b1d50d554b7e20ef87465d497390444e3535
# Parent 1f3fe4ea7561adb4fd43b39bc01dd5533e0e2f6e
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 --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -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:
More information about the Mercurial-devel
mailing list