rollback: don't clear the filecache
authorIdan Kamara <idankk86@gmail.com>
Wed, 09 Jan 2013 20:36:53 +0200
changeset 18314 3c3855470b19
parent 18313 3e4a944c0d04
child 18315 216230643ae2
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.
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: