Following are the steps to perform a merge from branch1 (for say release1.0) to branch 2 (for say release 2.0) in clearcase on a Linux system:
1. Create a view to branch 2 where you want to merge the code to and set to the view. Then launch clearcase merge manager GUI.
4. Once the merge is completed, all files modified, added or unloaded due to merge are in checked out state and require check in. So check in the files.
For more details, please refer the following:
1. Create a view to branch 2 where you want to merge the code to and set to the view. Then launch clearcase merge manager GUI.
$ clearmrgman2. The merge manager wizard will prompt for the following:
- Step 1 - Specify the dynamic or path to snapshot view
- Step 2 - Select the elements you want to consider for merge
- Step 3 - Select where you want to merge from by branch name, label name or from another clearcase view.
- Step 4 – merge options like:
- auto merge for directories – default yes
- auto merge files in the directories – default yes
- follow VOB symbolic links – default no
4. Once the merge is completed, all files modified, added or unloaded due to merge are in checked out state and require check in. So check in the files.
For more details, please refer the following:
- Clearmrgman reference doc
- How to merge using the clearcase merge manager
- A very nice, succinct clearcase quick reference