changeset 4411 | 8ff5e557432a |
parent 4403 | 8b3172c8f753 |
parent 4410 | 8087e9a0f902 |
child 4428 | fe37721aa0d9 |
--- a/hgext3rd/evolve/cmdrewrite.py Fri Feb 22 21:01:06 2019 +0530 +++ b/hgext3rd/evolve/cmdrewrite.py Sun Mar 03 16:29:32 2019 +0100 @@ -1172,6 +1172,10 @@ rewriteutil.precheck(repo, [rev], action='split') tr = repo.transaction('split') + # make sure we respect the revision current phase while splitting + phasestr = ctx.phasestr() + if phasestr == 'secret': + opts['secret'] = True if len(ctx.parents()) > 1: raise error.Abort(_("cannot split merge commits")) prev = ctx.p1()