diff mercurial/commands.py @ 8995:7b19cda0fa10

commit: lose some pointless 'nothing changed' messages Move message from localrepo to commands. This drops confusing messages in subrepo, import, and rebase.
author Matt Mackall <mpm@selenic.com>
date Wed, 01 Jul 2009 01:16:19 -0500
parents ff7d899a7a71
children ada93c6bf554 431462bd8478
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jul 01 01:05:24 2009 -0500
+++ b/mercurial/commands.py	Wed Jul 01 01:16:19 2009 -0500
@@ -665,6 +665,7 @@
 
     node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
     if not node:
+        ui.status(_("nothing changed\n"))
         return
     cl = repo.changelog
     rev = cl.rev(node)