Supposed you are implemented done with all your codes(c is the alias for cleartool):
- New version adds to exist file in VOB
- kco -c "comments" file
- cp file.updated file
- kci -c "comments" file
- Add new file element to VOB - also needs check out parent Dir
- kco -c "comments" dir-parent
- c mkelem -c "comments" filename
- kci -c "comments" filename
- kci -c "comments" dir-parent
- Add new directory element to VOB
- kco -c "comments" dir-parent(this is the exist one)
- c mkdir -c "comments" dir-name-new
- kci -c "comments" dir-name-new
- kci -c "comments" dir-parent
- Create new symlink and add to VOB
- kco -c "comments" dir-parent(this is the exist one)
- c ls -s dirink-name dir-original
- kci -c "comments" dir-parent
- Remove exist element from VOB
- kco -c "comments" dir-parent
- c rmname -c "comments" element
- kci -c "comments" dir-parent
- Change comments and attribute
- c chevent -replace -c "comment" filename
- c mkattr -replace attr_name '"comment"' filename
与人玫瑰-手有余香