Model, Component, and Package Management > Model Differencer dialog > Model Differencer dialog - for repository-based CM
  
Model Differencer dialog - for repository-based CM
The Model Differencer dialog allows you to compare the differences between two different versions of a model, or the same model in different repositories.
The Model Differencer dialog is opened when you perform the following operations:
From Model Explorer: When you right-click the model version, point to Difference, and then click With Original Trunk, With Latest Trunk, With Predecessor, With Selected Version, or With Other Model.
From Modeler: When you click the File menu, point to Model, point to Difference, and then click With Original Trunk, With Latest Trunk, With Predecessor, With Selected Version, or With Other Model.
In the Model Differencer dialog, you can expand items to locate the items that are different in each model. These entries are shown in Bold. In the columns for the models, the dialog shows you what the differences are.
You can navigate from one difference to another difference through the following toolbar buttons:
Navigate to Previous Difference
Navigate to Next Difference
For a branch (sandbox), the Model Differencer can compare the branch with both the latest version of the trunk, and the version of the trunk from which the branch was created (Difference > With Latest Trunk command).
Dialog columns
The Model Differencer dialog has the following columns:
Type - Shows the symbols of the item types shown in the Name column.
For links and properties, the type column is blank.
Name - Shows an explorer view of the items, properties and links that are different in the model versions being differenced. Expand an entry for more information.
Feature - For links and properties, shows the name of the link or property.
For items, the Feature column is blank.
Source Model Version - Reports on differences between the source model version you right-clicked and the target model version.
Target Model Version - Reports on differences between the target model version and the source model version you right-clicked.
Model version from which the branch (sandbox) was created - For three way differences only, this column reports on differences between the trunk version from which the branch was created and the source model version you right-clicked.
Reporting of differences
The columns for the model version show you what the differences are between the models. For example:
'Added' means that the item has been added to the model in that model version.
'Only Present in this model' means that the item appears in that model version, but not the other model version.
For links the columns show the items that are linked through that link in each model version.
For properties the columns show the value of the property in that model version.
Details dialog
The Details dialog allows you to see more information about the following differences:
Differences between diagrams in the model version. The Details dialog shows the diagram in each model version.
Differences between the values of a property. The Details dialog shows the full value of each property.
Differences between items that are linked through a link. The Details dialog shows the items that are linked through the link.
To open the Details dialog, select the entry for which you want more information, and then click Show Detailed Differences toolbar button.
Generating XML reports
You can generate the shown differences to an XML report. Click
Generates an XML Report of the Differences toolbar button.
You can also generate an XML difference report through theModelDifferencer.exe command line interface. For more information about creating XML difference reports through the command line interface, see Model Differencer dialog - command line interface .