Mercurial > evolve
changeset 146:e80a6c8ad452
stabilize: proper --quiet behavior
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 13 Mar 2012 12:00:40 +0100 |
parents | 928f217c1701 |
children | b0b23d9eede5 |
files | hgext/evolve.py |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py Thu Mar 08 14:35:57 2012 +0100 +++ b/hgext/evolve.py Tue Mar 13 12:00:40 2012 +0100 @@ -211,12 +211,14 @@ displayer = cmdutil.show_changeset(ui, repo, {'template': shorttemplate}) target = repo[target] repo.ui.status(_('move:')) - displayer.show(node) + if not ui.quiet: + displayer.show(node) repo.ui.status(_('atop:')) - displayer.show(target) + if not ui.quiet: + displayer.show(target) todo= 'hg rebase -Dr %s -d %s\n' % (node, target) if opts['dry_run']: - repo.ui.status(todo) + repo.ui.write(todo) else: repo.ui.note(todo) lock = repo.lock()