Cannot merge added/deleted resources85/186485/13.3.16RC1
commit84717c796918236b71492827a88a1bfc095b5fa5
authorlgoubet <laurent.goubet@obeo.fr>
Thu, 14 Oct 2021 14:29:11 +0000 (14 16:29 +0200)
committerlgoubet <laurent.goubet@obeo.fr>
Thu, 14 Oct 2021 14:29:11 +0000 (14 16:29 +0200)
tree15ff4c6c3791cf7454fe1c02e2434e501566c903
parent59cd8f4207e75cb3396260fa79063362febaf006
Cannot merge added/deleted resources

If one of the comparison sides is empty (we're comparing only addition
or deletion of resources with no other resource existing on the
opposite side), EMF Compare is unable to merge the change because
there are no MatchResource allowing us to "find" the opposite
ResourceSet. This is a legacy of the early implementation in which
the comparison scope was no longer available once the comparison was
computed.

Change-Id: Ic1404c984dc651a2d70f53c1f628f673efe629d5
plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/merge/ResourceAttachmentChangeMerger.java