Phil for Humanity Phil for Humanity
A Guide for the Survival of Humankind and Helping the World, Society, and Yourself.



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
on 20080623

Related Articles
 » ClearCase Support: How to Make a ClearCase Label
 » ClearCase Support: Another Common ClearCase Labeling Error Message
 » ClearCase Support: Common ClearCase Labeling Error Message