Clearcase finding a specific file on any branch

谁说胖子不能爱 提交于 2021-02-08 07:54:47

问题


Our clearcase installation has multiple branches covering many years of development. I'm trying to search for a specific file (or part file name) and it could be on a branch that has never been merged back to the integration or MAIN branch. Branch structure can be main/branch1 and also main/integration/branch2

Any thing i've seen on cleartool find needs a view but i've not be able to get a catch all config spec.

Any suggestions. Thanks


回答1:


The cleartool find command does not depend always on a view config spec:

find [ pname... ] –a/ll [ –vis/ible | –nvi/sible ] 

You can also start with all objects in one or more VOBs, regardless of they are visible in a particular view

So you can use options -all and -nvis in order to search for all elements.

The view gives context for the command find to find the right vob (base on the pname argument.

The -nvis option will find elements, along with their branches and versions, that are not visible (do not have a standard path name) in the view.



来源:https://stackoverflow.com/questions/39294813/clearcase-finding-a-specific-file-on-any-branch

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