如何在ClearCase UCM中按给定视图名称检索流名称? [英] How to retrieve stream name by a given view name in ClearCase UCM?

查看:70
本文介绍了如何在ClearCase UCM中按给定视图名称检索流名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图弄清楚如何检索给定视图所属的流。
当我使用 ClearCase Explorer并右键单击视图的属性时,会获得其流名称,但找不到如何使用脚本来检索它的名称。流信息不会显示在视图.vws文件或注册表上。

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.

我知道我可以做一些操作来从视图的config-spec中获取它,但是我仍然寻找最简单的方法来找到它。

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.

推荐答案

通过脚本:

cleartool lsstream -view view_tag

请参见 cleartool lsstream 手册页

See cleartool lsstream man page:

–vie/w view-tag




显示连接到指定视图的流的信息。

Displays information for the stream connected to the specified view.

这篇关于如何在ClearCase UCM中按给定视图名称检索流名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆