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.


$ cat <LIST_OF_ELEMENTS_IN_A_FILE.txt> | <LABEL> ...

You can download this Perl script here, or you can copy-n-paste from here:

This script was written for

by Phil for Humanity
on 06/23/2008

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