Submitter | phabricator |
---|---|
Date | April 3, 2018, 11:24 p.m. |
Message ID | <7b6348ed7936458436910fc7d94e2d93@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/30222/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -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"))