Checking in a package with unchanged subunits

If you check out a package with descendants and change only a few subunits, checking that in the package can be problematic because IBM® Rational® ClearCase® typically does not check in an unchanged element. To overcome this problem, use the SensitiveCheckin.bat file provided in the IBM Rational Rhapsody® distribution. The file is located in <root>/Share/etc.

About this task

The batch file compares each file to the version that was checked out. If the two versions are the same, an Undo Checkout operation is performed. Otherwise, the changed version is checked in.

To use this file, it must be in the $OMROOT/etc directory. In addition, you must set the ConfigurationManagement::ClearCase::CheckIn property to the following value:

$OMROOT/etc/SensitiveCheckin.bat $UnitPath $log

Feedback