The goal is to not use the actions dict and replace it with a rich mergeresult
object.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGf569ca3eb430: merge: pass mergeresult obj instead of actions in _checkcollision() (API)
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
mercurial/merge.py | ||
---|---|---|
299 | I initially wrote a comment that mresult is likely always defined but see that None can be passed in. Do you think it makes more sense to pass in an empty merge result instance instead of None? That seems to be the pattern elsewhere in this merge code refactor. (This could be done as a follow-up, of course.) |
I initially wrote a comment that mresult is likely always defined but see that None can be passed in. Do you think it makes more sense to pass in an empty merge result instance instead of None? That seems to be the pattern elsewhere in this merge code refactor.
(This could be done as a follow-up, of course.)