mercurial/commands.py
changeset 49229 ed9170ff791a
parent 49172 5ad37b5bfb31
child 49306 2e726c934fcd
equal deleted inserted replaced
49228:b909dd35d9ab 49229:ed9170ff791a
  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()