Merge branch 'upstream'
[mw] / src / mw / clicommands.py
index cc6e6efdf2050739d80a6e427773c4ea9f7cb67c..1d0c46d9f7fca08290ef1ea7b39d2169f5053b98 100644 (file)
@@ -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'

Benjamin Mako Hill || Want to submit a patch?