mercurial/commands.py
branchstable
changeset 16736 025b3b763ba9
parent 16637 265daefc00b2
child 16746 9acb5cd19162
child 16850 9c86ef980d9e
equal deleted inserted replaced
16735:47b8ec0eb7fb 16736:025b3b763ba9
  1009         other = hg.peer(repo, opts, dest)
  1009         other = hg.peer(repo, opts, dest)
  1010         revs, checkout = hg.addbranchrevs(repo, other, branches, revs)
  1010         revs, checkout = hg.addbranchrevs(repo, other, branches, revs)
  1011         heads = revs and map(repo.lookup, revs) or revs
  1011         heads = revs and map(repo.lookup, revs) or revs
  1012         outgoing = discovery.findcommonoutgoing(repo, other,
  1012         outgoing = discovery.findcommonoutgoing(repo, other,
  1013                                                 onlyheads=heads,
  1013                                                 onlyheads=heads,
  1014                                                 force=opts.get('force'))
  1014                                                 force=opts.get('force'),
       
  1015                                                 portable=True)
  1015         cg = repo.getlocalbundle('bundle', outgoing)
  1016         cg = repo.getlocalbundle('bundle', outgoing)
  1016     if not cg:
  1017     if not cg:
  1017         scmutil.nochangesfound(ui, outgoing and outgoing.excluded)
  1018         scmutil.nochangesfound(ui, outgoing and outgoing.excluded)
  1018         return 1
  1019         return 1
  1019 
  1020