# HG changeset patch # User Matt Mackall # Date 1328914352 21600 # Node ID f7e0d95d0a0bc5545f3dad40b9ceaee362d7c553 # Parent a3dcc59054cac3a78d0d5e5402680b17a396d59e log: remove caching of all visited revisions (issue3253) Not only does this eat all available memory for some users, it's slower. diff -r a3dcc59054ca -r f7e0d95d0a0b mercurial/cmdutil.py --- 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