# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1527023603 -19800 # Node ID 26b9b89f8dac2424efdd7c5bba5ff729121358a4 # Parent a19703c6d2bb1c7deb8fac6a841683f40080da40 evolve: store a list of temprevs in evolvestate There are temporary revisions which are created as a part of divergence resolution which needs to be stripped off if user runs `hg evolve --abort`. We need to save the nodeids of those temporary revisions in the evolvestate. The temprevs list will help in the above mentioned use cases. diff -r a19703c6d2bb -r 26b9b89f8dac hgext3rd/evolve/evolvecmd.py --- a/hgext3rd/evolve/evolvecmd.py Wed May 23 02:36:14 2018 +0530 +++ b/hgext3rd/evolve/evolvecmd.py Wed May 23 02:43:23 2018 +0530 @@ -1275,7 +1275,7 @@ 'revs': list(revs), 'confirm': confirmopt, 'startnode': startnode.node(), 'skippedrevs': [], 'command': 'evolve', 'orphanmerge': False, - 'bookmarkchanges': []} + 'bookmarkchanges': [], 'temprevs': []} evolvestate.addopts(stateopts) for rev in revs: curctx = repo[rev]