mercurial/hg.py
branchstable
changeset 15992 963c8a553524
parent 15908 60cb4f381a78
child 15993 0b05e0bfdc1c
--- a/mercurial/hg.py	Wed Jan 25 19:05:16 2012 +0100
+++ b/mercurial/hg.py	Wed Jan 25 19:41:34 2012 +0100
@@ -511,7 +511,11 @@
                                             force=opts.get('force'))
     o = outgoing.missing
     if not o:
-        ui.status(_("no changes found\n"))
+        if outgoing.excluded:
+            repo.ui.status(_("no outgoing changes but %i secret changesets\n")
+                           % len(outgoing.excluded))
+        else:
+            ui.status(_("no changes found\n"))
         return None
     return o