walkchangerevs: reset cache between windows
authorMatt Mackall <mpm@selenic.com>
Thu, 29 Oct 2009 19:03:13 -0500
changeset 9664 2a4a0dc4fb85
parent 9663 4164a17e7126
child 9665 1de5ebfa5585
walkchangerevs: reset cache between windows
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)