如何通过给定的视图路径获取ClearCase流名称? [英] How to get ClearCase stream name by a given view path?

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

问题描述

比方说,我在Linux(快照或动态)视图中.我忘记了该视图所属的流.

Let's say I'm inside a view on Linux (snapshot or dynamic). I forgot what's the stream that that view belongs to.

我如何得到它?我应该从config-spec中提取(在-mkbranch之后)还是有更好的方法?

How do I get it? Should I extract if from the config-spec (after -mkbranch) or is there any better way?

推荐答案

您可以利用

You can take advantage of the -cview option of the lsstream command:

cleartool lsstream -cview

使用

我喜欢查看此流在项目中的位置,因此我通常会执行以下操作:

I like to see where this stream is located within a project, so I usually do a:

cleartool lsstream -cview -anc

这篇关于如何通过给定的视图路径获取ClearCase流名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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