diff hgext/churn.py @ 9655:6d7d3f849062

walkchangerevs: internalize ctx caching
author Matt Mackall <mpm@selenic.com>
date Tue, 27 Oct 2009 17:01:32 -0500
parents 96fe91be9c1e
children f3d60543924f
line wrap: on
line diff
--- a/hgext/churn.py	Sun Oct 25 18:43:59 2009 -0500
+++ b/hgext/churn.py	Tue Oct 27 17:01:32 2009 -0500
@@ -53,9 +53,8 @@
     if opts.get('date'):
         df = util.matchdate(opts['date'])
 
-    get = util.cachefunc(lambda r: repo[r])
     m = cmdutil.match(repo, pats, opts)
-    for st, ctx, fns in cmdutil.walkchangerevs(ui, repo, m, get, opts):
+    for st, ctx, fns in cmdutil.walkchangerevs(ui, repo, m, opts):
         if not st == 'add':
             continue