如何将Clearcase视图与流或VOB关联? [英] How to associate a clearcase view with stream or vob?
问题描述
下面的命令是创建视图:
ct mkview -tag myview /var/tmp/your-username_dynview.vws
Below command is to make a view:
ct mkview -tag myview /var/tmp/your-username_dynview.vws
但是,我们如何知道[ myview ]是某些流的视图?
上面的命令中没有指定参数,用于指明视图的流。
However, how do we know that [myview] is a view to certain stream ? There's no specified arguments on above command indicating which stream a view is for.
是因为上面的命令用于基本的clearcase视图,不是UCM视图?
如果是这样,一个视图如何在基本clearcase中与stream或vob一起使用?
我很困惑。
Is it because that above command is for base clearcase view, not for UCM view ? If so, how it is possible for a view to work with stream or vob in base clearcase ? I'm confused.
推荐答案
您需要添加流
参数(在 cleartool mkview
手册页)。
You need to add the -stream
parameter (following cleartool mkview
man page).
ct mkview -tag myview -stream MyStream@/vobs:MyPVob /var/tmp/your-username_dynview.vws
例如,参见 如何在ClearCase中为某些项目或流创建快照视图? 。
-str/eam stream-selector
指定UCM流。正在创建的视图将附加到此流。 (不能与–reg / ion一起使用。)
Specifies a UCM stream. The view being created is attached to this stream. (Cannot be used with –reg/ion.)
流选择器
的格式为 [stream:] stream-name [@ vob-selector]
,其中 vob-selector
指定流的项目VOB。
stream-selector
is of the form [stream:]stream-name[@vob-selector]
, where vob-selector
specifies the stream's project VOB.
所以 -stream
是基本ClearCase视图和UCM视图之间的唯一区别
So the -stream
is the only difference between a base ClearCase view, and an UCM view.
这篇关于如何将Clearcase视图与流或VOB关联?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!