mercurial/hg.py
changeset 48116 5ced12cfa41b
parent 47626 1fdf315eff66
child 48173 1d70fb83ff4a
equal deleted inserted replaced
48115:b067d22dc6ad 48116:5ced12cfa41b
  1350         branches = path.branch, opts.get(b'branch') or []
  1350         branches = path.branch, opts.get(b'branch') or []
  1351 
  1351 
  1352         ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest))
  1352         ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest))
  1353         revs, checkout = addbranchrevs(repo, repo, branches, opts.get(b'rev'))
  1353         revs, checkout = addbranchrevs(repo, repo, branches, opts.get(b'rev'))
  1354         if revs:
  1354         if revs:
  1355             revs = [repo[rev].node() for rev in scmutil.revrange(repo, revs)]
  1355             revs = [repo[rev].node() for rev in logcmdutil.revrange(repo, revs)]
  1356 
  1356 
  1357         other = peer(repo, opts, dest)
  1357         other = peer(repo, opts, dest)
  1358         try:
  1358         try:
  1359             outgoing = discovery.findcommonoutgoing(
  1359             outgoing = discovery.findcommonoutgoing(
  1360                 repo, other, revs, force=opts.get(b'force')
  1360                 repo, other, revs, force=opts.get(b'force')