user1206219
user1206219

Reputation: 95

clearcase ucm activity list between baselines

How to get the list of the activities between two baselines in a file in clearcase ucm ?

Cleartool diffbl -lsact -pred latestlable >>activities.txt is the command used .

Upvotes: 2

Views: 1637

Answers (2)

Dominique Terrs
Dominique Terrs

Reputation: 629

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

Upvotes: 0

VonC
VonC

Reputation: 1323573

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.

Upvotes: 1

Related Questions