Mercurial > hg
changeset 9664:2a4a0dc4fb85
walkchangerevs: reset cache between windows
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 29 Oct 2009 19:03:13 -0500 |
parents | 4164a17e7126 |
children | 1de5ebfa5585 |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)