Mercurial > evolve
changeset 3557:77a400149758
evolve: move deletion of evolvestate out of continueevolve() function
We need to extract some data at evolve() function from evolvestate.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 16 Mar 2018 16:11:22 +0530 |
parents | b0438c9101ad |
children | cec6e21b3bcf |
files | hgext3rd/evolve/evolvecmd.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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