##// END OF EJS Templates
outgoing: avoid repo.lookup() for converting revnum to nodeid...
Martin von Zweigbergk -
r37329:70c52800 default
parent child Browse files
Show More
@@ -957,7 +957,7 b' def _outgoing(ui, repo, dest, opts):'
957 ui.status(_('comparing with %s\n') % util.hidepassword(dest))
957 ui.status(_('comparing with %s\n') % util.hidepassword(dest))
958 revs, checkout = addbranchrevs(repo, repo, branches, opts.get('rev'))
958 revs, checkout = addbranchrevs(repo, repo, branches, opts.get('rev'))
959 if revs:
959 if revs:
960 revs = [repo.lookup(rev) for rev in scmutil.revrange(repo, revs)]
960 revs = [repo[rev].node() for rev in scmutil.revrange(repo, revs)]
961
961
962 other = peer(repo, opts, dest)
962 other = peer(repo, opts, dest)
963 outgoing = discovery.findcommonoutgoing(repo, other, revs,
963 outgoing = discovery.findcommonoutgoing(repo, other, revs,
General Comments 0
You need to be logged in to leave comments. Login now