mercurial/hg.py
branchstable
changeset 15992 963c8a553524
parent 15908 60cb4f381a78
child 15993 0b05e0bfdc1c
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():