You can compare an archived unit to the current version
of the same unit that has not been archived.
Procedure
- In the Configuration Items window, highlight
a unit (for example, a class) in the displayed list that you want
to compare to the archived version in your source control management
system.
- Click the Diff with Rhapsody® button
. Depending on what configuration management tool you have,
the following actions might occur: - If you have IBM® Rational® Synergy, IBM Rational Rhapsody DiffMerge
opens and compares the current Rational Synergy version
with the current version in Rational Rhapsody so
that the engineer can determine which version of the unit is going
to be archived next.
- If you have a configuration management tool other
than Rational Synergy,
the Compare With window opens.
- Type either the revision or source control management
label of the archived unit you want to compare to the one currently
selected in the Rational Rhapsody model.
- Select the With Descendant check
box if you also want to compare any nested units inside the current
unit to those of the archived version.
Note: The term
descendant in the source control management refers to a unit that
is nested inside another unit. For example, if
P is
a package, it might have a nested package
Q and a
global function
f() as its descendants.
Q might
be stored either in the same file as
P or in its
own file. In the latter case,
Q is a descendant unit
for source control management and comparison purposes. Taking
P with
descendants will also include
Q (and its file). Taking
P without
descendants
will not include
Q, and the result
of the merge will be two files, one for
P and one
for
Q. The global function
f() cannot
become a unit because it is a function, and must always "come and
go" with
P.
- Click OK.
Rational Rhapsody DiffMerge compares
the two versions of the unit so that the engineer can determine which
version of the unit is going to be archived next.