--- a/mercurial/cmdutil.py Wed Nov 22 22:33:57 2006 +0100
+++ b/mercurial/cmdutil.py Wed Nov 22 23:02:28 2006 +0100
@@ -13,7 +13,7 @@
revrangesep = ':'
-def revpair(ui, repo, revs):
+def revpair(repo, revs):
'''return pair of nodes, given list of revisions. second item can
be None, meaning use working dir.'''
@@ -41,7 +41,7 @@
raise util.Abort(_('too many revisions specified'))
return start, end
-def revrange(ui, repo, revs):
+def revrange(repo, revs):
"""Yield revision as strings from a list of revision specifications."""
def revfix(repo, val, defval):
@@ -641,7 +641,7 @@
defrange = '%s:0' % repo.changectx().rev()
else:
defrange = 'tip:0'
- revs = revrange(ui, repo, opts['rev'] or [defrange])
+ revs = revrange(repo, opts['rev'] or [defrange])
wanted = {}
slowpath = anypats or opts.get('removed')
fncache = {}