如何以clearcase ucm?
获取文件中两个基线之间的活动列表Cleartool diffbl -lsact -pred latestlable>> activities.txt是使用的命令。
答案 0 :(得分:1)
不要忘记添加@\yourPVob
,如cleartool list activities since last 7 days。
cleartool diffbl -act -pred baseline:latestlable@\yourPVob
注意:在Unix上,这将是@/vobs/yourPVob
最好使用基线选择器语法(请参阅diffbl
man):
baseline-selector的格式为:
[baseline:]baseline-name[@vob-selector]
,vob是基线的UCM项目VOB。
答案 1 :(得分:0)
import os
bl_old="myOldBaseline@/MyVobs"
bl_new="myNewBaseline@/MyVobs"
myView = "MyView"
diff_act=os.popen("cleartool setview -exec \"cleartool diffbl -nmerge -activities "+bl_old+" "+ bl_new+" \" " +myView).readlines()
for act in diff_act:
print ("ACTIVITY: "+str(act))
链接:How To Get The List Of All The Activities Comparing UCM baselines