--- a/hgext/evolve.py Sun Jun 22 12:01:11 2014 -0400
+++ b/hgext/evolve.py Sun Jun 22 20:10:07 2014 -0400
@@ -62,7 +62,7 @@
from mercurial import scmutil
from mercurial import templatekw
from mercurial.i18n import _
-from mercurial.commands import walkopts, commitopts, commitopts2
+from mercurial.commands import walkopts, commitopts, commitopts2, mergetoolopts
from mercurial.node import nullid
from mercurial import wireproto
from mercurial import localrepo
@@ -1151,7 +1151,8 @@
'do not perform actions, just print what would be done'),
('A', 'any', False, 'evolve any troubled changeset'),
('a', 'all', False, 'evolve all troubled changesets'),
- ('c', 'continue', False, 'continue an interrupted evolution'), ],
+ ('c', 'continue', False, 'continue an interrupted evolution'),
+ ] + mergetoolopts,
_('[OPTIONS]...'))
def evolve(ui, repo, **opts):
"""Solve trouble in your repository
@@ -1181,6 +1182,7 @@
anyopt = opts['any']
allopt = opts['all']
dryrunopt = opts['dry_run']
+ ui.setconfig('ui', 'forcemerge', opts.get('tool', ''), 'evolve')
if contopt:
if anyopt: