##// END OF EJS Templates
hg: make "_outgoing()" return peer object for remote repository...
FUJIWARA Katsunori -
r21050:025ec0f0 default
parent child Browse files
Show More
@@ -4353,7 +4353,7 b' def outgoing(ui, repo, dest=None, **opts'
4353 """
4353 """
4354 if opts.get('graph'):
4354 if opts.get('graph'):
4355 cmdutil.checkunsupportedgraphflags([], opts)
4355 cmdutil.checkunsupportedgraphflags([], opts)
4356 o = hg._outgoing(ui, repo, dest, opts)
4356 o, other = hg._outgoing(ui, repo, dest, opts)
4357 if not o:
4357 if not o:
4358 return
4358 return
4359
4359
@@ -585,7 +585,7 b' def _outgoing(ui, repo, dest, opts):'
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 o
588 return o, other
589
589
590 def outgoing(ui, repo, dest, opts):
590 def outgoing(ui, repo, dest, opts):
591 def recurse():
591 def recurse():
@@ -598,7 +598,7 b' def outgoing(ui, repo, dest, opts):'
598 return ret
598 return ret
599
599
600 limit = cmdutil.loglimit(opts)
600 limit = cmdutil.loglimit(opts)
601 o = _outgoing(ui, repo, dest, opts)
601 o, other = _outgoing(ui, repo, dest, opts)
602 if not o:
602 if not o:
603 return recurse()
603 return recurse()
604
604
General Comments 0
You need to be logged in to leave comments. Login now