equal
deleted
inserted
replaced
3017 return old.node() |
3017 return old.node() |
3018 |
3018 |
3019 commitphase = None |
3019 commitphase = None |
3020 if opts.get(b'secret'): |
3020 if opts.get(b'secret'): |
3021 commitphase = phases.secret |
3021 commitphase = phases.secret |
|
3022 elif opts.get(b'draft'): |
|
3023 commitphase = phases.draft |
3022 newid = repo.commitctx(new) |
3024 newid = repo.commitctx(new) |
3023 ms.reset() |
3025 ms.reset() |
3024 |
3026 |
3025 with repo.dirstate.parentchange(): |
3027 with repo.dirstate.parentchange(): |
3026 # Reroute the working copy parent to the new changeset |
3028 # Reroute the working copy parent to the new changeset |