This is an archive of the discontinued Mercurial Phabricator instance.

simplemerge: make merge_groups() yield only 2-tuples
ClosedPublic

Authored by martinvonz on Jan 6 2022, 3:34 PM.

Details

Summary

merge_groups() currently yields 2-tuples or 4-tuples, making the
callers check the first element to decide how to interpret the
rest. Let's make it yield only 2-tuples, thereby simplifying life a
little for the callers.

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.