How do I create a snapshot view of some project or stream in ClearCase?

Deadly 提交于 2019-11-27 02:13:17
VonC

2... 1

cleartool descr -l project:myProject@\myPVob

with some grep, you have the list of components (writable or not) and policies.

If you want only the Streams:

cleartool lsproj -tree myProject@\myPVob

You can repeat that for a Stream (to get the sub-streams)

cleartool lsstream -tree myStream@\myPVob

For the foundation baselines of a Stream:

cleartool descr -fmt "%[mod_comps]CXp" stream:myStream@\ideapvob

For the activities of a Stream:

cleartool descr -fmt "%[activities]CXp" stream:myStream@\ideapvob

If you want to consult the files (i.e. the exact version of each files) referenced by a stream, the quickest way would be to create a UCM dynamic view on that stream:

 cleartool mkview -tag myView_myStream -stream myStream@\myPVob -stg myStorage

With a dynmic view, you will not have any load rule (since it is a dynamic view).

You only need to mount the VOB which you want to see

cleartool mount \myVob

And you can start browsing the files

 M:\myView_myStream\myVob\...

For snapshot view, see "Proper ‘cleartool mkview’ for ClearCase Snapshot view creation"

 mkview -snapshot -tag myView_myStream_snap -vws \\mySharedPath\myView_myStream_snap.vws -host myHostname -hpath \\mySharedPath\myView_myStream_snap.vws -gpath \\mySharedPath\myView_myStream_snap.vws myRootDir

For the load rules, see:

Config specs and Load rules difference

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