clearcase ucm activity list between baselines

强颜欢笑 提交于 2019-12-06 08:12:58
VonC

Don't forget to add @\yourPVob, as shown in cleartool list activities since last 7 days.

 cleartool diffbl -act -pred baseline:latestlable@\yourPVob

Note: on Unix, this would be @/vobs/yourPVob.
It is best to use the baseline selector syntax (see diffbl man):

baseline-selector is of the form: [baseline:]baseline-name[@vob-selector] and vob is the baseline's UCM project VOB.

Here is an example in python found on snip2code.com

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))

Link: How To Get The List Of All The Activities Comparing UCM baselines

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!