Compare two alternatives of a lineage the caller has already validated.
This is the comparison designLineageCompare and
designLineageDecisionComparisons answer with after their own single
validation, so a decision with many options validates once rather than once
per pair. It assumes a valid lineage: a change keyed twice on one subject and
aspect is a contradiction validation refuses, and here the later change
would win.
Variants on different base revisions, or an unknown variant id, throw an
Error. A difference whose left or right is null means that alternative
leaves the aspect at the base revision. Differences are ordered by subject
and then aspect in UTF-16 code-unit order, and common lists, in the same
order, every lineage subject neither alternative changes.
Compare two alternatives of a lineage the caller has already validated.
This is the comparison designLineageCompare and designLineageDecisionComparisons answer with after their own single validation, so a decision with many options validates once rather than once per pair. It assumes a valid lineage: a change keyed twice on one subject and aspect is a contradiction validation refuses, and here the later change would win.
Variants on different base revisions, or an unknown variant id, throw an
Error. A difference whoseleftorrightis null means that alternative leaves the aspect at the base revision. Differences are ordered by subject and then aspect in UTF-16 code-unit order, andcommonlists, in the same order, every lineage subject neither alternative changes.