# HG changeset patch # User Matt Mackall # Date 1255929769 18000 # Node ID 3194227a4158bc5c428ad52f6581ede3c80f3886 # Parent fcc85abc762e3f431116036108ff9390e8a93087 summary: quieter with -q diff -r fcc85abc762e -r 3194227a4158 mercurial/commands.py --- a/mercurial/commands.py Mon Oct 19 00:21:06 2009 -0500 +++ b/mercurial/commands.py Mon Oct 19 00:22:49 2009 -0500 @@ -2918,7 +2918,10 @@ elif pnode not in bheads: t += _(' (new branch head)') - ui.write(_('commit: %s\n') % t.strip()) + if 'clean' in t: + ui.status(_('commit: %s\n') % t.strip()) + else: + ui.write(_('commit: %s\n') % t.strip()) # all ancestors of branch heads - all ancestors of parent = new csets new = [0] * len(repo) @@ -2930,7 +2933,7 @@ new = sum(new) if new == 0: - ui.write(_('update: (current)\n')) + ui.status(_('update: (current)\n')) elif pnode not in bheads: ui.write(_('update: %d new changesets (update)\n') % new) else: