查找分支上的文件
find . -branch brtype(branchname) -print
创建分支
mkbrtype -c "comment" branchname
创建Label
mklbtype -c "comment" labelname
用于 cleartool find 查询:
cleartool find -all -version “lbtype(REL1)” -print
find . -version 'lbtype(LABEL)' -print
锁分支命令
lock brtype:branchname
创建trigger
trigger已存在
mktrtype mktrtype -replace -element -all -preop mkelem -nusers shiquan -exec NO_RM_MK
trigger不存在
mktrtype mktrtype -element -all -preop mkelem -nusers shiquan -exec NO_RM_MK
日常开发人员常用命令
开发人员常用命令
1. 建立vob
mkvob –tag /vobtags/vob1 –c “ VOB for project1” /vobstore/vob1.vbs
2. Mount vob
Cleartool mount /vobtags/vob1
3. 创建视图
cleartool mkview –tag test1 /ccvob/views/test1.vws
4. 设置当前视图
cleartool setview test1
5. 在VOB的根目录下到入数据:
clearfsimport –recurse –c “ comments “ /home/setup/* . ,注意命令的最后为圆点,表示当前目录。
6. 改变VOB的Owner:
cleartool protectvob –chown root /vobstore/vob1.vbs
7. 改变VOB的Group:
cleartool protectvob –chgrp alluser /vobstore/vob1.vbs
8. 增加Additional Group:
cleartool protectvob –add_group group1 /vobstore/vob1.vbs
9. 删除Additional Group:
cleartool protectvob –delete_group group1 /vobstore/vob1.vbs
修改vob中数据的权限信息
10. 将jmccboss VOB 中所有元素Owner 改成ccadmin,Group改成jmccboss:
Cleartool protect –chown ccadmin –chgrp jmccboss .
.为vob根目录
11. 将jmccboss VOB 中所有元素权限 改成对ccadmin(rwx),jmccboss(rwx),其他VOB附属组成员(r-x):
例: Cleartool protect –recurse –chmod 775 . ,
12. Mount vob
Cleartool mount /vobtags/vob1
13. 创建视图
cleartool mkview –tag test1 /ccvob/views/test1.vws
14. 设置当前视图
cleartool setview test1
15. 在VOB的根目录下到入数据:
clearfsimport –recurse –c “ comments “ /home/setup/* . ,注意命令的最后为圆点,表示当前目录。
16. Check out
Cleartool checkout [-reserve][-unreserve] b.c Check out一个文件
Cleartool checkout . Check out当前目录
Cleartool Checkout –nc *.* Check out当前目录下所有文件
cleartool find . $file -exec ‘cleartool checkout -nc $CLEARCASE_PN’
Check out当前目录下所有的文件和目录中的文件
17. Check in
Cleartool checkin b.c Check in 一个文件
Cleartool checkin . Check in 当前目录
Cleartool Checkin –nc *.* Check in 当前目录下所有文件.
cleartool find . $file -exec ‘cleartool checkin -nc –ide $CLEARCASE_PN’
Check in当前目录下所有的文件和目录中的文件
18. 建立一个snapshot view
cleartool mkview –tag pat_2_snapshot_view –snapshot /viewstore/pat/myviews.vws
19. 编辑config spe
Cleartool edcs
20. 更新snapshot view
cleartool update pat_2_snapshot_view
21.设置当前的activity
cleartool setactivity activityname
gaibian leixing: chtype binary_delta_file Estonian.r
错误 :clearfsimport: Error: Trouble was encountered importing the following elements:
D:\work\shiquan_study\Broadcom070122\BCM_R2.10_A1\mmi\design\gui\res\ffs_preload\CD_5_2_6.dm
阅读(3195) | 评论(2) | 转发(0) |