show message if no changes found on incoming
authorTK Soh <teekaysoh@yahoo.com>
Fri, 24 Mar 2006 08:34:56 +0100
changeset 1993 fb6ca9801d04
parent 1992 ea8345a7a29d
child 1994 78ef83c9e9e1
show message if no changes found on incoming
mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1802,6 +1802,7 @@ def incoming(ui, repo, source="default",
     other = hg.repository(ui, source)
     incoming = repo.findincoming(other, force=opts["force"])
     if not incoming:
+        ui.status(_("no changes found\n"))
         return
 
     cleanup = None