mercurial/commands.py
changeset 37307 4d69668a65d8
parent 37306 6942c73f0733
child 37308 0b4692b9646d
--- a/mercurial/commands.py	Tue Apr 03 22:24:50 2018 +0900
+++ b/mercurial/commands.py	Tue Apr 03 14:39:21 2018 -0700
@@ -4148,7 +4148,7 @@
     other = hg.peer(repo, opts, dest)
 
     if revs:
-        revs = [repo.lookup(r) for r in scmutil.revrange(repo, revs)]
+        revs = [repo[r].node() for r in scmutil.revrange(repo, revs)]
         if not revs:
             raise error.Abort(_("specified revisions evaluate to an empty set"),
                              hint=_("use different revision arguments"))