changeset 49772 | e78a41686464 |
parent 49456 | cdfba684b6a1 |
child 49960 | c166b212bdee |
--- a/mercurial/cmdutil.py Tue Nov 29 13:07:16 2022 -0800 +++ b/mercurial/cmdutil.py Tue Nov 29 15:41:28 2022 -0800 @@ -3019,6 +3019,8 @@ commitphase = None if opts.get(b'secret'): commitphase = phases.secret + elif opts.get(b'draft'): + commitphase = phases.draft newid = repo.commitctx(new) ms.reset()