ClearCase Support: Check In and Label at the Same Time
Have you ever wanted to check-in a file into ClearCase while at the same time label the new version too? Wait no longer. With a single command and using the script below, you can automatically check-in any set of ClearCase elements and then label the newly checked in versions that were just created with a single label.
Here are the two most common ways that you can use this Perl script to check-in and label elements.
$ cil.pl <LABEL> <ELEMENT1> [ELEMENT2] [ELEMENT3] ...
$ cat <LIST_OF_ELEMENTS_IN_A_FILE.txt> | cil.pl <LABEL> ...
You can download this Perl script here, or you can copy-n-paste from here:
This script was written for www.philforhumanity.com.
by Phil for Humanity