I am using Clearcase dynamic view with a complex config spec. I need a command line command to find files where the version selected by the config spec has a specific property, such as:
- has a specific label
- does not have a specific label
- is on a specific branch
- etc.
I was looking at the documentation of the cleartool find command, but found no rule such as “version selected by the config spec”.
A simple
should be enough to display all the informations you need.
Combine that with the
fmt_ccaseformatting options page, and you can display directly only the label and the branch name:See:
Now, if you want to find all files with a version of a specific property within your view, use the
-cviewoption offind.See “Additional examples of the
cleartool findcommand“:Following the same idea:
To print all versions selected by your view that are in a given branch: