comparison mercurial/hg.py @ 15992:963c8a553524 stable

outgoing: display info about secret changets while no sharable changeset found
author Alain Leufroy <alain.leufroyATgmailMYDOTcom>
date Wed, 25 Jan 2012 19:41:34 +0100
parents 60cb4f381a78
children 0b05e0bfdc1c
comparison
equal deleted inserted replaced
15991:85ec8036d0b9 15992:963c8a553524
509 other = peer(repo, opts, dest) 509 other = peer(repo, opts, dest)
510 outgoing = discovery.findcommonoutgoing(repo, other, revs, 510 outgoing = discovery.findcommonoutgoing(repo, other, revs,
511 force=opts.get('force')) 511 force=opts.get('force'))
512 o = outgoing.missing 512 o = outgoing.missing
513 if not o: 513 if not o:
514 ui.status(_("no changes found\n")) 514 if outgoing.excluded:
515 repo.ui.status(_("no outgoing changes but %i secret changesets\n")
516 % len(outgoing.excluded))
517 else:
518 ui.status(_("no changes found\n"))
515 return None 519 return None
516 return o 520 return o
517 521
518 def outgoing(ui, repo, dest, opts): 522 def outgoing(ui, repo, dest, opts):
519 def recurse(): 523 def recurse():