evolve: store the revs to be processed in the evolvestate
authorPulkit Goyal <7895pulkit@gmail.com>
Mon, 22 Jan 2018 18:35:50 +0530
changeset 3482 7f646d98858e
parent 3481 93bb36b4a666
child 3484 6d180db0e3e8
evolve: store the revs to be processed in the evolvestate This will help us in getting a full functional `hg evolve` where `hg evolve --continue` does not only continue one changeset.
hgext3rd/evolve/evolvecmd.py
--- a/hgext3rd/evolve/evolvecmd.py	Mon Jan 22 18:18:11 2018 +0530
+++ b/hgext3rd/evolve/evolvecmd.py	Mon Jan 22 18:35:50 2018 +0530
@@ -1155,7 +1155,7 @@
     if targetcat == 'orphan':
         revs = _orderrevs(repo, revs)
 
-    stateopts = {'category': targetcat, 'replacements': {}}
+    stateopts = {'category': targetcat, 'replacements': {}, 'revs': revs}
     evolvestate.addopts(stateopts)
     for rev in revs:
         curctx = repo[rev]