Comparing versions of elements

If you use ClearCase® for source control management, you can compare an element with its previous version to determine whether to check in your changes.

Before you begin

About this task

An element is an object in a VOB, a database that stores your project's files. An element can be a Functional Test script, a Functional Test project, an object map or a Java™ file. All elements are stored with version history and comments.

To compare an element with its previous version:

Procedure

  1. From the Solution Explorer, select an element.
  2. Right-click, and then click Compare Versions.
    The ClearCase Diff Merge tool opens and displays the following information:
    • For scripts, compares the main .VB file with the previous version.
    • For scripts that are checked out, compares the current editable version with the latest checked in version.
    • For scripts that are not checked out, compares the current version with the previous version.
  3. Click File > Exit when done.

    For information about using the ClearCase Diff Merge tool, see the ClearCase Help.

Results

Related Topic:

Showing Checkouts

What to do next

Feedback