Background
I am in a situation where in order to promote code cleanly, views with a certain number have to be branched in a coordinated way as such:
/some/dir/here@@/main/dev/view_dev__456_textDescription
/some/dir/here/file.txt@@/main/dev/view_dev__456_textDescription
/some/dir/here@@/main/dev/prod1/view_prod1_dev__456_textDescription
/some/dir/here/file.txt@@/main/dev/prod1/view_prod1_dev__456_textDescription
Each view of a certain product must be branched from its product branch.
Problem
I am in a situation where I accidentally created a product specific view, but off of the dev branch. Below is the situation I am in:
/some/dir/here@@/main/dev/view_dev__456_textDescription
/some/dir/here/file.txt@@/main/dev/view_dev__456_textDescription
/some/dir/here@@/main/dev/view_prod1_dev__456_textDescription <-- The erroneous branch
/some/dir/here/file.txt@@/main/dev/prod1/view_prod1_dev__456_textDescription
Attempted solution
I tried this command to get rid of the erroneous branch:
ct rmbranch /some/dir/here@@/main/dev/view_prod1_dev__456_textDescription
But I got this error:
...
Checking for mergeouts on branch [view_prod1_dev__456_textDescription] ...
ERROR: Cannot delete a WI branch that has mergeouts
cleartool: Warning: Trigger "TRG_PRE_RMBRANCH" has refused to let rmbranch proceed.
cleartool: Error: Unable to remove branch "/some/dir/here@@/main/dev/view_prod1_dev__456_textDescription"
Based on the error, I need to get rid of the mergeouts for this branch. Thus my question...
Question
How do I undo the mergeouts of a specific clearcase branch?