--- a/hgext/evolve.py Fri Apr 08 18:45:45 2016 +0000
+++ b/hgext/evolve.py Fri Apr 08 18:45:58 2016 +0000
@@ -2155,7 +2155,7 @@
tr = repo.currenttransaction()
assert tr is not None
try:
- repo.ui.setconfig('ui', 'allowemptycommit', True)
+ repo.ui.setconfig('ui', 'allowemptycommit', True, 'evolve')
repo.dirstate.beginparentchange()
repo.dirstate.setparents(divergent.node(), node.nullid)
repo.dirstate.endparentchange()
@@ -3862,7 +3862,7 @@
backup = repo.ui.backupconfig('phases', 'new-commit')
try:
targetphase = max(orig.phase(), phases.draft)
- repo.ui.setconfig('phases', 'new-commit', targetphase, 'rebase')
+ repo.ui.setconfig('phases', 'new-commit', targetphase, 'evolve')
# Commit might fail if unresolved files exist
nodenew = repo.commit(text=commitmsg, user=orig.user(),
date=orig.date(), extra=extra)