Submitter | phabricator |
---|---|
Date | April 3, 2018, 11:25 p.m. |
Message ID | <95201dd9dda97ec56f17e46a388d542e@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/30225/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -957,7 +957,7 @@ ui.status(_('comparing with %s\n') % util.hidepassword(dest)) revs, checkout = addbranchrevs(repo, repo, branches, opts.get('rev')) if revs: - revs = [repo.lookup(rev) for rev in scmutil.revrange(repo, revs)] + revs = [repo[rev].node() for rev in scmutil.revrange(repo, revs)] other = peer(repo, opts, dest) outgoing = discovery.findcommonoutgoing(repo, other, revs,