diff mercurial/localrepo.py @ 18314:3c3855470b19

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.
author Idan Kamara <idankk86@gmail.com>
date Wed, 09 Jan 2013 20:36:53 +0200
parents 3e4a944c0d04
children 948f495fb230
line wrap: on
line diff
--- 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: