Reconciling a branch of a model to another branch (Modeler CM)
If you are working with Automatic Code Synchronizer and maintaining reversible operation and EAB text in the code files, you should determine whether you have unreversed changes before reconciling the branch. For more information, see
Reconciling a branch when maintaining reversible properties in the code files (ACS).
You can start a reconcile through Model Explorer or Modeler. Reconcile operations can also be performed through ScfUtils and through the Modeler automation interface.
|
When reconciling a branch to another branch, both branches must have been created from the same trunk version.
|
|
• After reconciling a branch, the branch is shown in Model Explorer only when versions are shown - after showing versions through the Show Versions toolbar button you can expand the version of the trunk from which the branch was created and view the reconciled branch.
• To reconcile a branch, you require a CM Integration license and a Modeler license.
• To reconcile a model to another branch, you require write access permissions to the tip version of the target branch. If the tip version of the target branch is not protected, you also require write access permissions to all Packages in the tip version of the target branch. Alternatively, you can have Database Administrator or Database Owner access permissions to the Database that owns the model version you want to reconcile.
• If you attempt to reconcile a model branch to another branch and either model version contains locked items (items being changed), Modeler abandons the reconcile operation.
• While a reconcile operation is in progress, other users will not be able to change the tip versions of either branch.
• After reconciling a branch to another branch, the tip version of the each branch is protected.
• If you delete an item in your branch and then reconcile the branch to another branch, the deleted item and its deleted child items are deleted in the target branch, even if a child item had been moved to a new parent item in the target branch.
• If you change the tagged value of an item's Tag Definition in the branch and the Tag Definition has been removed from the item in the target branch, on reconciling the branch to the target branch the tagged value that was set for the item is lost.
• If a diagram has been changed in the source and target branch, after reconciling the branch you may have to tidy up the resultant diagram.
• Modeler enforces name uniqueness of items that are directly scoped to the same item; however, if a scoping item has scoped items of the same name created in the both branches, the resultant model will have items of the same name directly scoped to the scoping item. When this happens, the reconciliation creates a Text Diagram in the resultant model that records the details of the clash.
|
To reconcile a branch of a model to another branch (through Model Explorer):
2. If the Show Versions toolbar button is not selected: on the toolbar, click the Show Versions button.
3. Expand the database in which the model you want to reconcile resides.
4. If you want to compare the branch with the other branch, right-click the tip version of the branch, select > .
5. Right-click the tip version of the branch you want to reconcile, and then select > .
6. From the confirmation dialog, click Yes.
7. When asked whether you want to clear model item locks, click Yes to clear locks in the source model version before performing the reconcile operation, or click No to not clear locks in the source model version.
|
Click Yes only if you are sure that no other users are using the two model versions for the reconcile operation.
|
8. If there are any clashes, for example, properties that have been changed in both branches, the Clashes dialog lists these clashes.
For each clash shown in the dialog:
a. If you want to overwrite the target branch value from the source branch value, select the check box associated with the source branch column.
if you want to retain the target branch value and not use the source branch value, select the check box associated with the target branch column.
b. When you have selected a check box for each clash, click the
Apply button to continue the reconcile operation.
For more information about a clash, select the clash entry, and then click the
Details button.
9. When the Operation Completed dialog appears, confirm that 0 errors, 0 warnings and 0 conflicts are reported on the dialog:
If any errors or warnings are reported, click View Log, and then investigate the problem.
If no errors or warnings are reported, click OK.
If any conflicts are reported:
a. Open the resultant model.
b. Open the Text Diagram or Change Note whose name relates to the reconcile operation you performed. The name of the Text Diagram or Change Note will begin with 'Conflicts: '.
c. Resolve the conflicts that relate to the items that are referenced in the content of the Text Diagram or the description of the Change Note. For more information, see
Resolving conflicts (Modeler CM).
To reconcile a branch of a model to another branch (through Modeler):
1. In Modeler, open the branch that you want to reconcile.
2. On the Manage tab, click Reconcile into Sibling.
3. From the confirmation dialog, click Yes.
4. When asked whether you want to clear model item locks, click Yes to clear locks in the source model version before performing the reconcile operation, or click No to not clear locks in the source model version.
| Click Yes only if you are sure that no other users are using the two source model versions for the reconcile operation. |
5. If there are any clashes, for example, properties that have been changed in both versions of the branch, the Clashes dialog lists these clashes.
For each clash shown in the dialog:
a. If you want to overwrite the target branch value from the source branch value, select the check box associated with the source branch column.
if you want to retain the target branch value and not use the source branch value, select the check box associated with the target branch column.
b. When you have selected a check box for each clash, click the
Apply button to continue the reconcile operation.
For more information about a clash, select the clash entry, and then click the
Details button.
6. When the operation is complete, review the text in the Output pane and confirm that 0 errors, 0 warnings and 0 conflicts are reported.
If any errors or warnings are reported, investigate the problem.
If any conflicts are reported:
a. Open the Text Diagram or Change Note whose name relates to the reconcile operation you performed. The name of the Text Diagram or Change Note will begin with 'Conflicts: '.
b. Resolve the conflicts that relate to the items that are referenced in the content of the Text Diagram or the description of the Change Note. For more information, see
Resolving conflicts (Modeler CM).