| « Integrating a better file comparer than clearcase offers | What is Project Voldemort? What is Voldemort? » |
Finding which files are on a clearcase branch without a label
The clearcase reports that come out of the box only let you find out the files that have changed between 2 labels. What if you haven’t applied the other label yet, or you are writing release notes and the official labelling hasn’t taken place yet?
If you have applied a label, how do you know which files have changed since then.
Open a command line and switch to the view and directory path you are interested in. Issue the following command:
cleartool find . -cview -version “!lbtype(MY_LABEL)” -print
where:
‘.’ is from the current directory,
-cview is current view
-version “!lbtype(MY_LABEL)” is look for versions without a label called MY_LABEL
-print is what to do with them.