Mercurial > evolve
changeset 3480:1799fc777f30
evolve: store the target category in evolvestate
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 22 Jan 2018 18:13:52 +0530 |
parents | 4b9fc8c85ee4 |
children | 93bb36b4a666 |
files | hgext3rd/evolve/evolvecmd.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/evolvecmd.py Mon Jan 22 17:54:27 2018 +0530 +++ b/hgext3rd/evolve/evolvecmd.py Mon Jan 22 18:13:52 2018 +0530 @@ -1155,6 +1155,9 @@ # Order the revisions if targetcat == 'orphan': revs = _orderrevs(repo, revs) + + stateopts = {'category': targetcat} + evolvestate.addopts(stateopts) for rev in revs: curctx = repo[rev] progresscb()