"E03020691: Cannot merge path" returned by Cross Project Merge
search cancel

"E03020691: Cannot merge path" returned by Cross Project Merge

book

Article ID: 36185

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager

Issue/Introduction

When I try to perform Cross Project Merge selecting a package containing a ā€œDā€-tagged folder, SCM prevents it with a message like this:

---------- Begin  <Cross Project Merge>  Process ---------------
E03020691: Cannot merge path because sub item/path under path : <repository folder name> will be lost after merged.
E03060019: Process Execute failed. Process Name: Cross Project Merge.
---------- End  <Cross Project Merge>  Process ---------------

Why would a Cross Project Merge result in a E03020691 error and prevent this merge from completing?

Environment

Harvest Software Change Manager v12 and higher

Resolution

When a Cross Project Merge is performed, selecting a package that contains a "D"-tagged file, the corresponding file in the target project will also receive a "D"-tag:

If SCM were to allow a Cross Project Merge selecting a package that contains a "D"-tagged folder, it would mean that the corresponding folder in the target project would also receive a "D"-tag.  If that folder in the target project were to contain any files not found in the source project, those files would also be "D"-tagged and become invisible:

To prevent this possible unintended consequence, SCM will return the error message and the Cross Project Merge will not succeed.

The only exception to the rule is if the same folder in the target project also has a "D"-tag.  In this situation the Cross Project Merge will succeed:

The other possible ways to make the Cross Project Merge to succeed are:

  • Use the Switch Package process to move the "D"-tagged folder out of the package to be selected for the Cross Project Merge
  • Use the Delete Version process to delete the version of the folder that contains the "D"-tag.

Additional Information

Additional information about how Cross Project Merge works can be found here: Compare and Merge Versions