evolve: minor reorganisation of code responsible for evolve output
This does not change any of the semantic as status is not printed when --quiet
is provided. This juste make it more explicit that the output are related.
--- a/hgext/evolve.py Thu Jun 12 16:10:01 2014 -0700
+++ b/hgext/evolve.py Fri Jun 13 12:49:16 2014 -0700
@@ -1343,11 +1343,10 @@
target = targets[0]
displayer = cmdutil.show_changeset(ui, repo, {'template': shorttemplate})
target = repo[target]
- repo.ui.status(_('move:'))
if not ui.quiet:
+ repo.ui.status(_('move:'))
displayer.show(orig)
- repo.ui.status(_('atop:'))
- if not ui.quiet:
+ repo.ui.status(_('atop:'))
displayer.show(target)
if progresscb: progresscb()
todo = 'hg rebase -r %s -d %s\n' % (orig, target)