Combines two changesets made one after the other into the one changeset
that describes both, entity by entity: added then modified stays added
(with the later value), added then removed disappears, modified then
removed becomes removed, removed then added becomes modified, and
otherwise the later entry wins. roles and argument take the later
value when it is present.
Unlike mergeChangesets, which combines independent changesets and
rejects an id in two buckets, this is for a sequence, where the same
entity legitimately changes more than once.
Combines two changesets made one after the other into the one changeset that describes both, entity by entity: added then modified stays added (with the later value), added then removed disappears, modified then removed becomes removed, removed then added becomes modified, and otherwise the later entry wins.
rolesandargumenttake the later value when it is present.Unlike mergeChangesets, which combines independent changesets and rejects an id in two buckets, this is for a sequence, where the same entity legitimately changes more than once.