From: Joseph Reagle Date: Thu, 10 Feb 2011 18:26:52 +0000 (-0500) Subject: make commit terse as well X-Git-Url: https://projects.mako.cc/source/mw/commitdiff_plain/b9fb2a729cda6442da7aa4c2a9cdddd1b38a8409 make commit terse as well --- diff --git a/src/mw/clicommands.py b/src/mw/clicommands.py index cc6e6ef..1d0c46d 100644 --- a/src/mw/clicommands.py +++ b/src/mw/clicommands.py @@ -320,8 +320,8 @@ class CommitCommand(CommandBase): files_to_commit = 0 # how many files to process status = self.metadir.working_dir_status(files=self.args) for filename in status: - print '%s %s' % (status[filename], filename) if status[filename] in ['M']: + print '%s %s' % (status[filename], filename) files_to_commit += 1 if not files_to_commit: print 'nothing to commit'