查找当前流是否在ClearCase中包含基线 [英] Find if current stream contains baseline in ClearCase
问题描述
让我们说我有一个称为A1的基准。然后,我想看看是否有其他方式可以让我在同一项目中的任何地方出现在另一个流中,以查看我的流中是否有A1?即我的流中是否对A1中的代码进行了更改?
Let us say I have a baseline called A1. What I then want to see if there is any way for me to be on another stream, anywhere in the same project, to see if I have A1 in my stream? I.e. do I have the code changes made in A1 in my stream?
有没有快速的方法来做到这一点?
Is there any fast way to do this? Thank you in advance.
推荐答案
ClearCase基于活动运行,您应该确定活动是通过使用<$传递的c $ c> cleartool lsact -contrib :
请参阅 自上次基准以来交付的活动,以及更完整的示例,网址为 描述基线并扩展交付和基线活动。
ClearCase works based on activities, and you should determine is an activity has been delivered by using cleartool lsact -contrib
:
See "Activities delivered since the last baseline", and a more complete example at "Describe baseline and expand deliver and rebase activities".
您可以列出基线的所有活动以及 cleartool descr -l基线:A1 @ \pvob
。
You can list all activities of a baseline with cleartool descr -l baseline:A1@\pvob
.
另一种情况是,当 A1
是另一个流的基础基准时。
您可以使用 fmt_ccase
格式,仅列出基础基线并检查 A1
是其中的一部分。
请参阅 使用Cleartool显示当前基准。
Another case is simply when A1
is a foundation baseline in your other stream.
you can describe your other stream, using fmt_ccase
format, to list only the foundation baselines and check if A1
is part of those.
See "Display Current Baseline with Cleartool".
然后,您需要检查是否有最新版本的标签上没有'A1'标签。
例如参见 如何让cleartool判断自上次基准以来是否对源进行了修改。
Then you need to check if you have LATEST versions which have no 'A1' label on them.
See for instance "How to make cleartool tell if source is modified since last baseline".
这篇关于查找当前流是否在ClearCase中包含基线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!