How to retrieve stream name by a given view name in ClearCase UCM?

孤街醉人 提交于 2019-12-01 06:53:52

问题


I'm trying to figure out how to retrieve the stream which a given view is belong to. When I use "ClearCase Explorer" and right-click for view's properties, I get its stream name, but I can't find how to retrieve that with scripts. The stream information does not appear on view .vws files nor registry.

I know I can do some manipulation to get it from view's config-spec, but I'm still looking for the easiest way to find it our.


回答1:


By script:

cleartool lsstream -view view_tag

See cleartool lsstream man page:

–vie/w view-tag

Displays information for the stream connected to the specified view.



来源:https://stackoverflow.com/questions/7872437/how-to-retrieve-stream-name-by-a-given-view-name-in-clearcase-ucm

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