equal
deleted
inserted
replaced
1530 |
1530 |
1531 other = hg.repository(ui, source) |
1531 other = hg.repository(ui, source) |
1532 incoming = repo.findincoming(other, force=opts["force"]) |
1532 incoming = repo.findincoming(other, force=opts["force"]) |
1533 if not incoming: |
1533 if not incoming: |
1534 ui.status(_("no changes found\n")) |
1534 ui.status(_("no changes found\n")) |
1535 return |
1535 return 1 |
1536 |
1536 |
1537 cleanup = None |
1537 cleanup = None |
1538 try: |
1538 try: |
1539 fname = opts["bundle"] |
1539 fname = opts["bundle"] |
1540 if fname or not other.local(): |
1540 if fname or not other.local(): |
1810 |
1810 |
1811 other = hg.repository(ui, dest) |
1811 other = hg.repository(ui, dest) |
1812 o = repo.findoutgoing(other, force=opts['force']) |
1812 o = repo.findoutgoing(other, force=opts['force']) |
1813 if not o: |
1813 if not o: |
1814 ui.status(_("no changes found\n")) |
1814 ui.status(_("no changes found\n")) |
1815 return |
1815 return 1 |
1816 o = repo.changelog.nodesbetween(o, revs)[0] |
1816 o = repo.changelog.nodesbetween(o, revs)[0] |
1817 if opts['newest_first']: |
1817 if opts['newest_first']: |
1818 o.reverse() |
1818 o.reverse() |
1819 displayer = cmdutil.show_changeset(ui, repo, opts) |
1819 displayer = cmdutil.show_changeset(ui, repo, opts) |
1820 for n in o: |
1820 for n in o: |