2

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 .

2 Answers2

1

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.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

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

Dominique Terrs
  • 609
  • 8
  • 5