Find changes between labels

后端 未结 4 1773
滥情空心
滥情空心 2020-12-15 12:07

Using cleartool I am able to find all the files associated with a label using something like:

ct find -avobs -version \"lbtype (Build-Label)\" -print
         


        
4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-15 13:03

    There is a another way to do it , where LABEL1 is the old label and LABEL2 is the latest. Check the date of creation of the labels and swap them before issuing the command as it prints the negation of the && conditional statement. Works like magic!

    $(cleartool find $PWD -ver "!lbtype($LABEL1) && lbtype($LABEL2)" -print)
    

提交回复
热议问题