diff mercurial/commands.py @ 9665:1de5ebfa5585

walkchangerevs: drop ui arg
author Matt Mackall <mpm@selenic.com>
date Thu, 29 Oct 2009 19:03:16 -0500
parents 4164a17e7126
children ee913987e4b0
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Oct 29 19:03:13 2009 -0500
+++ b/mercurial/commands.py	Thu Oct 29 19:03:16 2009 -0500
@@ -1338,7 +1338,7 @@
                 except error.LookupError:
                     pass
 
-    for ctx in cmdutil.walkchangerevs(ui, repo, matchfn, opts, prep):
+    for ctx in cmdutil.walkchangerevs(repo, matchfn, opts, prep):
         rev = ctx.rev()
         parent = ctx.parents()[0].rev()
         for fn in sorted(revfiles.get(rev, [])):
@@ -2068,7 +2068,7 @@
 
         displayer.show(ctx, copies=copies)
 
-    for ctx in cmdutil.walkchangerevs(ui, repo, matchfn, opts, prep):
+    for ctx in cmdutil.walkchangerevs(repo, matchfn, opts, prep):
         if count != limit:
             if displayer.flush(ctx.rev()):
                 count += 1