# HG changeset patch # User Matt Mackall # Date 1256860993 18000 # Node ID 2a4a0dc4fb8535a7e3dee3eea5d1ee47232d75f3 # Parent 4164a17e712658495d0db4af24e1679b13298237 walkchangerevs: reset cache between windows diff -r 4164a17e7126 -r 2a4a0dc4fb85 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Thu Oct 29 17:07:54 2009 -0500 +++ b/mercurial/cmdutil.py Thu Oct 29 19:03:13 2009 -0500 @@ -1210,6 +1210,7 @@ return rev in wanted for i, window in increasing_windows(0, len(revs)): + change = util.cachefunc(repo.changectx) nrevs = [rev for rev in revs[i:i+window] if want(rev)] for rev in sorted(nrevs): fns = fncache.get(rev)