diff mercurial/cmdutil.py @ 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 f11eee00c652
children 60101427d618
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