lookup(str(x)) -> lookup(x)
authorMatt Mackall <mpm@selenic.com>
Thu, 26 Oct 2006 14:09:15 -0500
changeset 3524 a33a9af1ec03
parent 3523 7ed86c28f1ae
child 3525 cf0f8d9256c7
lookup(str(x)) -> lookup(x)
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."""