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

ClearCase Support: Changing Comments

Have you ever checked in a file and then realize that the checkin comment is incorrect? Most people are not aware that comments can be modified after they have been committed to the VOBs. For instance, to replace the comment of the version that the View is accessing, just run this command:

cleartool chevent –replace –c "NEW_COMMENT" ELEMENT_NAME

Keep in mind that this command will completely delete/replace the previous comment with the new comment, if there was a previous comment. Alternatively, you can append to the existing comment by removing the "-replace" argument without losing the previous data, if necessary.

Also, I recommend viewing the comment both before and after you run this command using these procedures.

by Phil for Humanity
on 11/14/2008

Related Articles
 » ClearCase Support: Changing File Permissions
 » ClearCase Support: Displaying Comments
 » ClearCase Support: Common ClearCase Checkin Error Message