changeset 3482:7f646d98858e

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.
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 22 Jan 2018 18:35:50 +0530
parents 93bb36b4a666
children 6d180db0e3e8
files hgext3rd/evolve/evolvecmd.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]