equal
deleted
inserted
replaced
1598 if base: |
1598 if base: |
1599 if dests: |
1599 if dests: |
1600 raise error.InputError( |
1600 raise error.InputError( |
1601 _(b"--base is incompatible with specifying destinations") |
1601 _(b"--base is incompatible with specifying destinations") |
1602 ) |
1602 ) |
1603 common = [repo[rev].node() for rev in base] |
1603 cl = repo.changelog |
1604 heads = [repo[r].node() for r in revs] if revs else None |
1604 common = [cl.node(rev) for rev in base] |
|
1605 heads = [cl.node(r) for r in revs] if revs else None |
1605 outgoing = discovery.outgoing(repo, common, heads) |
1606 outgoing = discovery.outgoing(repo, common, heads) |
1606 missing = outgoing.missing |
1607 missing = outgoing.missing |
1607 excluded = outgoing.excluded |
1608 excluded = outgoing.excluded |
1608 else: |
1609 else: |
1609 missing = set() |
1610 missing = set() |