It is part of the contract of parents() that non-merges return a list of one
element. self._parents is always a list of two elements in memctx.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGd085fcb11c56: memctx: make `parents()` return list of one element if it’s not a merge
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.