equal
deleted
inserted
replaced
561 dest = ui.expandpath(dest or 'default-push', dest or 'default') |
561 dest = ui.expandpath(dest or 'default-push', dest or 'default') |
562 dest, branches = hg.parseurl(dest, opts.get('branch')) |
562 dest, branches = hg.parseurl(dest, opts.get('branch')) |
563 other = hg.repository(cmdutil.remoteui(repo, opts), dest) |
563 other = hg.repository(cmdutil.remoteui(repo, opts), dest) |
564 revs, checkout = hg.addbranchrevs(repo, other, branches, revs) |
564 revs, checkout = hg.addbranchrevs(repo, other, branches, revs) |
565 o = repo.findoutgoing(other, force=opts.get('force')) |
565 o = repo.findoutgoing(other, force=opts.get('force')) |
|
566 |
|
567 if not o: |
|
568 ui.status(_("no changes found\n")) |
|
569 return |
566 |
570 |
567 if revs: |
571 if revs: |
568 cg = repo.changegroupsubset(o, revs, 'bundle') |
572 cg = repo.changegroupsubset(o, revs, 'bundle') |
569 else: |
573 else: |
570 cg = repo.changegroup(o, 'bundle') |
574 cg = repo.changegroup(o, 'bundle') |