Question

Using ClearCase, I would like to retrieve all the elements of the VOB that do not have a particular label.

I am trying to do something similar to the following but it doesn't work. Any help ?

cleartool find . -elem '( ! (lbtype(MYLABEL)))' -print
Was it helpful?

Solution

It should be a query similar to:

cleartool find . -elem '! lbtype_sub(MYLABEL)' -print

From cleartool find and query_language:

lbtype_sub (label-type-name)

With elements: TRUE if the element has a version that is labeled label-type-name.

More details in "ClearCase: How to find elements that do NOT have a particular label"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top