equal
deleted
inserted
replaced
583 outgoing = discovery.findcommonoutgoing(repo.unfiltered(), other, revs, |
583 outgoing = discovery.findcommonoutgoing(repo.unfiltered(), other, revs, |
584 force=opts.get('force')) |
584 force=opts.get('force')) |
585 o = outgoing.missing |
585 o = outgoing.missing |
586 if not o: |
586 if not o: |
587 scmutil.nochangesfound(repo.ui, repo, outgoing.excluded) |
587 scmutil.nochangesfound(repo.ui, repo, outgoing.excluded) |
588 return None |
|
589 return o |
588 return o |
590 |
589 |
591 def outgoing(ui, repo, dest, opts): |
590 def outgoing(ui, repo, dest, opts): |
592 def recurse(): |
591 def recurse(): |
593 ret = 1 |
592 ret = 1 |
598 ret = min(ret, sub.outgoing(ui, dest, opts)) |
597 ret = min(ret, sub.outgoing(ui, dest, opts)) |
599 return ret |
598 return ret |
600 |
599 |
601 limit = cmdutil.loglimit(opts) |
600 limit = cmdutil.loglimit(opts) |
602 o = _outgoing(ui, repo, dest, opts) |
601 o = _outgoing(ui, repo, dest, opts) |
603 if o is None: |
602 if not o: |
604 return recurse() |
603 return recurse() |
605 |
604 |
606 if opts.get('newest_first'): |
605 if opts.get('newest_first'): |
607 o.reverse() |
606 o.reverse() |
608 displayer = cmdutil.show_changeset(ui, repo, opts) |
607 displayer = cmdutil.show_changeset(ui, repo, opts) |