Mercurial > public > mercurial-scm > evolve
diff hgext/evolve.py @ 546:415540dee2bd stable
fix missing --dest evolve output in dryrun
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 10 Sep 2012 17:33:06 +0200 |
parents | 8c5da9e75ae0 |
children | bebc6753e7b9 |
line wrap: on
line diff
--- a/hgext/evolve.py Fri Aug 31 11:50:37 2012 +0200 +++ b/hgext/evolve.py Mon Sep 10 17:33:06 2012 +0200 @@ -1417,7 +1417,7 @@ repo.ui.status(_('atop:')) if not ui.quiet: displayer.show(target) - todo = 'hg rebase -Dr %s -d %s\n' % (orig, target) + todo = 'hg rebase -r %s -d %s\n' % (orig, target) if dryrun: repo.ui.write(todo) else: @@ -1453,7 +1453,7 @@ if not ui.quiet: displayer.show(prec) if dryrun: - todo = 'hg rebase --rev %s --detach %s;\n' % (latecomer, prec.p1()) + todo = 'hg rebase --rev %s --dest %s;\n' % (latecomer, prec.p1()) repo.ui.write(todo) repo.ui.write('hg update %s;\n' % prec) repo.ui.write('hg revert --all --rev %s;\n' % latecomer)