How to rmname by using cleartool?

How to rmname by using cleartool?

 

1.       Check what is the rmname command usage?

cleartool rmname

cleartool: Error: Directory pathname required.

Usage: rmname [-c comment | -cfile pname | -cq | -cqe | -nc]

              [-nco] [-force] pname ...

 

2.       Run the command, but you will find an error:

M:\your vob path name>cleartool rmname -nc -force rebecca_1229_01.txt

cleartool: Error: Can't modify directory because it is not checked out.

cleartool: Error: Unable to remove "rebecca_1229_01.txt".

 

3.       Fix the above error by checkout the directory first: cleartool co -nc .

 

4.       Run the command in step2 again:

 

M:\your vob path name>cleartool rmname -nc -force rebecca_1229_01.txt

Removed "rebecca_1229_01.txt".

 

-you can see now the file is removed

 

5.       Check in the directory to finish the rmname: cleartool ci -nc .

 

Done
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章