Creating a branch type object (Windows and Linux and UNIX)
To create a branch type object, you use the cleartool mkbrtype command.
The following examples show the use of the mkbrtype command to perform the tasks as explained in the examples.
- cleartool mkbrtype -c "bugfix development branch
for V1" bugfix_v1
This command creates a branch type object named bugfix_v1 which can be used only once in an element's version tree. The -c option allows for entering the comment "bugfix development branch for V1"
- cleartool mkbrtype -nc -pbranch patch2 rel2_bugfix
This command creates two branch types: patch2 and rel2_bugfix. The -nc option indicates that you do not wish to provide a comment. The patch2 branch is used to contain the program patches; the rel2_bugfix branch is used for bug fixing.