A command like:
cleartool diffbl -act bl1@apvob bl2@apvob
will give you the list of activities which have new versions between baselines bl1 and bl2.
However, to get the list of files (ie elements, as in files or directories, and not versions as in all the updated versions even for a same file), the best way is to:
- ensure those baselines are "full" baseline: promote them to full if needed:
cleartool chbl -full bl1@apvob
cleartool chbl -full bl2@apvob
(if they were already full, this command won't do anything)
- list all elements which have the
bl1
and bl2
labels on different versions:
cleartool find -all -element '{lbtype_sub(REL1) && lbtype_sub(REL2)}' ^
-version '{(lbtype(REL1) && ! lbtype(REL2)) || ^
(lbtype(REL2) && !lbtype(REL1))}' -print
See "Find changes between labels".
Note that this last question also mentions the "report builder packaged with ClearCase, which is interesting if you are after a solution involving a GUI and not a CLI (command line):
Again, if those baselines are full, you can use it to list (under Elements/Labels
) either "Elements Changed Between Two Labels
" or "Versions Changed Between Two Labels
" depending on which you need.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…