changeset 3524:a33a9af1ec03

lookup(str(x)) -> lookup(x)
author Matt Mackall <mpm@selenic.com>
date Thu, 26 Oct 2006 14:09:15 -0500
parents 7ed86c28f1ae
children cf0f8d9256c7
files mercurial/cmdutil.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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."""