evolve: store the evolvestate file when encountering conflicts
This patch makes `hg evolve` store the evolvestate file when it encounters merge
conflicts while resolving content-divergence.
--- a/hgext3rd/evolve/evolvecmd.py Sun Apr 29 18:13:29 2018 +0530
+++ b/hgext3rd/evolve/evolvecmd.py Sun Apr 29 18:48:36 2018 +0530
@@ -417,6 +417,7 @@
if compat.hasconflict(stats):
repo.ui.status(_("use 'hg resolve' to retry unresolved file merges "
"or 'hg update -C .' to abort\n"))
+ evolvestate.save()
raise error.Abort('merge conflict between several amendments '
'(this is not automated yet)',
hint="""/!\ You can try: