( )⚙ D11966 simplemerge: make merge_groups() yield only 2-tuples

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage