# HG changeset patch # User Matt Mackall # Date 1161889755 18000 # Node ID a33a9af1ec03b33015d41fa7fd69cd2fa955ae43 # Parent 7ed86c28f1ae6a88b55e9fe53e36203ab417da4c lookup(str(x)) -> lookup(x) diff -r 7ed86c28f1ae -r a33a9af1ec03 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Thu Oct 26 14:04:58 2006 -0500 +++ b/mercurial/cmdutil.py Thu Oct 26 14:09:15 2006 -0500 @@ -57,8 +57,8 @@ end = revfix(repo, revs[1], None) else: raise util.Abort(_('too many revisions specified')) - if end is not None: end = repo.lookup(str(end)) - return repo.lookup(str(start)), end + if end is not None: end = repo.lookup(end) + return repo.lookup(start), end def revrange(ui, repo, revs): """Yield revision as strings from a list of revision specifications."""