Mercurial > hg-stable
changeset 9605:3194227a4158
summary: quieter with -q
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 19 Oct 2009 00:22:49 -0500 |
parents | fcc85abc762e |
children | 69f8ac71ded1 |
files | mercurial/commands.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: