ct lsco
List all checkedout files in the current directory.
ct lsco -r
Same as above with the flag "-r" recursively looks in sub directories.
ct lsco -me -cview -all
List all files that are checkedout by me in the current view.
ct find ./ -branch 'brtype(branch-name)' -print
Find all files of the specified branch name.
ct lsprivate
List all private files in current view.
find . -print | xargs cleartool mkelem -mkpath -nc
Recursively add all files and directories in the current directory
cleartool find . -exec 'cleartool ci -nc $CLEARCASE_PN'
Recursively checkin all files (and directories) in the current directory.
Attached perl scripts:
uncheckout_post.tgr
Removes /0 branch at uncheckout time. This only works if the version is the last version on the branch and unlabelled.
mkelem_pre.tgr
Prevents so-called "evil twins", two different elements by the same name occupying different versions of the same director, also preventing mkelem when the files differ only in case.
| Attachment | Size |
|---|---|
| uncheckout_post.pl.txt | 3 KB |
| mkelem_pre.pl.txt | 3.87 KB |