changeset 3736:4b8c63d14f18

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.
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 29 Apr 2018 18:48:36 +0530
parents bdf7fb6af7b8
children 5b0bd82ea914
files hgext3rd/evolve/evolvecmd.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: