changeset 16108:f7e0d95d0a0b stable

log: remove caching of all visited revisions (issue3253) Not only does this eat all available memory for some users, it's slower.
author Matt Mackall <mpm@selenic.com>
date Fri, 10 Feb 2012 16:52:32 -0600
parents a3dcc59054ca
children cb756482c1aa 41417443b7d0
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Fri Feb 10 16:09:30 2012 -0600
+++ b/mercurial/cmdutil.py	Fri Feb 10 16:52:32 2012 -0600
@@ -979,7 +979,7 @@
     wanted = set()
     slowpath = match.anypats() or (match.files() and opts.get('removed'))
     fncache = {}
-    change = util.cachefunc(repo.changectx)
+    change = repo.changectx
 
     # First step is to fill wanted, the set of revisions that we want to yield.
     # When it does not induce extra cost, we also fill fncache for revisions in