evolve: move deletion of evolvestate out of continueevolve() function
We need to extract some data at evolve() function from evolvestate.
--- a/hgext3rd/evolve/evolvecmd.py Fri Mar 16 16:04:28 2018 +0530
+++ b/hgext3rd/evolve/evolvecmd.py Fri Mar 16 16:11:22 2018 +0530
@@ -1129,8 +1129,8 @@
if not evolvestate:
raise error.Abort('no evolve to continue')
evolvestate.load()
- return continueevolve(ui, repo, evolvestate, progresscb)
-
+ continueevolve(ui, repo, evolvestate, progresscb)
+ evolvestate.delete()
else:
cmdutil.bailifchanged(repo)
@@ -1242,5 +1242,4 @@
evolvestate['skippedrevs'].append(curctx.node())
_cleanup(ui, repo, unfi[startnode], True)
- evolvestate.delete()
return