# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1521196882 -19800 # Node ID 77a400149758cabd6c5a743c18b958a8061aa330 # Parent b0438c9101adbe9e2aee775a7cf928245f6d477a evolve: move deletion of evolvestate out of continueevolve() function We need to extract some data at evolve() function from evolvestate. diff -r b0438c9101ad -r 77a400149758 hgext3rd/evolve/evolvecmd.py --- 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