How to get the list of all the activities comparing two UCM streams in python
This script shows how to get the list of all the activities comparing two ucm streams.
The command returns a list object you can easily loop and print.
post this code
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))
If you want to be updated about similar snippets,
and follow our Channels