ClearCase Find files pointing to version 0

走远了吗. 提交于 2019-12-23 03:35:06

问题


I'm trying to find a list of fiels pointing to Version 0 in a view. I have tried several options with the find command and could get the output that i wanted. Can someone help/direct me here? Any help is much appreciated. Thanks.


回答1:


You can do that for a given branch, as I mention in "Command to delete branches of Clearcase element with “0” versions":

cleartool find -avobs -branch'{
    brtype(mybranch)&&!
    (version(.../mybranch/1))}' 
     -print

You can replace mybranch by the name of a stream for which you want to clean any version /0.



来源:https://stackoverflow.com/questions/22671998/clearcase-find-files-pointing-to-version-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!