The new code has a small overhead in the empty commit case, as a memctx object
is always created, but I don’t think it’s justified here to duplicate code
to optimize a relatively unlikely code path.
Details
Details
- Reviewers
martinvonz - Group Reviewers
hg-reviewers - Commits
- rHG0ecb3b11fcad: rebase: correctly check for empty commit in in-memory mode
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.