The hg commit --amend uses the in-memory code, which naturally
doesn't touch the merge state (well, it shouldn't anyway; I think I've
fixed bugs in that area recently). We therefore need to clear the
mergestate after calling repo.commitctx() since we expect that from
hg commit --amend.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG6ba7190ff863: commit: clear mergestate also with --amend (issue6304)
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage