ClearCase: how to find files that were not marked as "Label_Name" in the CURRENT Version, filtered by configuration specification

For example, the current configuration specification is "element * / main / LAETST". there is a file - "A.txt", the current version is 3, and before the previous version a label with the name "LB" was added.

I want cmd to request all files that do not use the "LB" label in the current version.

Obviously, the file "A.txt" should respond to the request.

How to write clearcase cmd? Thanks

+2
source share
2 answers

This command can help you:

cleartool find . -type f -version "version(/main/LATEST) && !lbtype(LB)" -print

( ) /main/LATEST, "LB".

+3
cleartool find /your/path -cview -version "! lbtype(LB)" -print
  • -cview -version
  • -version "! lbtype(LB)" LB
+4

Source: https://habr.com/ru/post/1796286/


All Articles