equal
deleted
inserted
replaced
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 |