Pregunta

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
¿Fue útil?

Solución

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"

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top