How ClearCase Merges


To merge versions, ClearCase takes the following steps:

  1. It identifies the base contributor.
  2. Next, it compares each contributor against the base contributor.
  3. For any line that is unchanged between the base contributor and any other contributor, ClearCase copies the line to the merge output file.
  4. For any line that has changed between the base contributor and another contributor, ClearCase performs a trivial merge by accepting the change in the contributor. Note, however, that depending on how you started the merge operation, ClearCase may copy the change to the merge output file. However, you can disable the automated merge capability for any given merge operation. If you disable this capability, you must approve each change to the merge output file.
  5. For any line that has changed between the base contributor and more than one other contributor, ClearCase requires that you resolve the conflicting difference.

About Merging in UCM

During a deliver or rebase operation, the ClearCase merge algorithm involves the following versions:

About Merging in Base ClearCase

The ClearCase merge algorithm uses the following files during a merge: