This and upcoming patches will improve the mergeresult object making it more
powerful and provide clean APIs for various things. Doing this will clean up the
core merge code which is present in update() a bit.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG0c849f0166c2: merge: introduce hasconflicts() on mergeresult object
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.
Event Timeline
mercurial/merge.py | ||
---|---|---|
589 | This preserves the old logic, so this is a fine refactor. But I don wonder if this should be an explicit inclusion set rather than an exclusion one. The way it is now, if we add an action and forget to update this set, this code could be buggy. |
mercurial/merge.py | ||
---|---|---|
587 | pyflakes didn't like the shadowing of _ here. So I changed variable names in flight. |
pyflakes didn't like the shadowing of _ here. So I changed variable names in flight.