You can merge versions of an element manually or with any available analysis and editing tools. To update the version tree of an element with a merge that occurs outside Rational® ClearCase® control, follow the steps in this procedure:
After you draw the merge arrow, your merge is indistinguishable from one performed with Rational ClearCase tools.
For example, use the following commands to merge a version of nextwhat.c on the enhance branch to the branch currently selected by your view:
cleartool checkout nextwhat.c Checkout comments for "nextwhat.c": merge enhance branch . Checked out "nextwhat.c" from version "/main/1".
At this point, use your own tools to merge data into the checked-out version.
cleartool merge -to nextwhat.c -ndata -version .../enhance/LATEST Recorded merge of "nextwhat.c".
The -ndata option suppresses the merge but creates merge arrows as if the versions had been merged.
For example, use the following commands to merge a version of nextwhat.c on the enhance branch to the branch currently selected by your view:
cleartool checkout nextwhat.c Checkout comments for "nextwhat.c": merge enhance branch . Checked out "nextwhat.c" from version "\main\1".
At this point, use your own tools to merge data into the checked-out version.
cleartool merge -to nextwhat.c -ndata -version ...\enhance\LATEST Recorded merge of "nextwhat.c".
The -ndata option suppresses the merge but creates merge arrows as if the versions had been merged.