ClearTool常用命令(国外英文资料).doc
文本预览下载声明
ClearTool常用命令(国外英文资料)
A component of commonly used commands
Import the entire directory into clearcase
Clearfsimport-r source path target path
2. Lock
-name *, exec cleartool lock nuser userame1, username2 % CLEARCASE_PN %
3. To unlock
-name * -exec cleartool unlock
4. The transformation format
Chtype-f compressed_file fileName
View the basic information and uuids of the VOB
Des - l vob:.
6. Delete the view
Rmview - uuid uuid
7. Remove lost + found
-name * -exec cleartool rmelem-f
Look for changes in the day
Cleartool lshis-r-since 07-dec
Basic operations
Cleartool co - nc filename
Cleartool ci - nc filename
See how many files you have co
Cleartool, lscheckout - cview-me-avobs
Make directories and files
Cleartool mkdir - c comment newdirectory
Cleartool mkelem - c comment newfilename
Merge the mainline and branch files
/ / find the files that need to be merged
Cleartool findmerge. -fversion/main/test_path-print
/ / compare files
The cleartool diff filename filename @@@@@@/ main/TEST_Path/LATEST
/ / check out the latest version
Cleartool lsvtree filename
/ / merge
The cleartool merge - to filename filename @@@/ main/TEST_path/LATEST filename @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
13. The label related
Cleartool mklbtype - nc TEST_LABEL
Cleartool mklabel - r TEST_LABEL filename
Cleartool rmtype lbtype: TEST_LABEL
/ / put the TEST_LABEL tag on all the files labeled TEST_LABEL
Cleartool mklabel - replace - version/main/TEST_LABEL TEST_LABEL *
/ / find all the files on the TEST_LABEL TAB
Cleartool find. -version lbtype (TEST_LABEL) -print
/ / find the files that are labeled TEST_LABEL and TEST_LABEL1
Cleartool find. - element lbtype_sub (TEST_LABEL) lbtype_sub (TEST_LABEL1) -print
Look at the files in a directory
ls
15. Man/help command
Cleartool man XXX
Cleartool help XXX
Give up co files
Cleartool unco - keep filename
Cleartool unco - rm filename
17. Change the VOB Owner:
Cleartool protectvob - chown root/vob/vob.vbs
Change VOBs Group:
Cleartool protectvob
显示全部