在明确的情况下,如何将不可修改的基准转换为可修改的基准? [英] In clearcase how to convert non modifiable baseline to modifiable?

查看:84
本文介绍了在明确的情况下,如何将不可修改的基准转换为可修改的基准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建了一个新的UCM项目,该项目配置了多个基准



当我尝试从特定组件中签出文件时,不允许我签出,并且说可能是该流将是只读的。



我能够检出流中的其他组件文件。因此,我尝试运行以下命令


cleartool lsstream -view MyBuildView -l <​​/ p>



输出有很多东西,我在下面复制了与基线相关的信息。



我能够看到component3是不可修改的,因为它在建议的基准中也不存在。 (我在创建项目时就添加了它,因为它被遗漏了)

 基础基准:
myProjc_RelBuild.1614@\ \my_PVOB(组件1 @ \my_Pvob)(可修改)
myProj_RelBuild.5158@\my_Pvob(Component2 @ \my_Pvob)(可修改)
myProj_RelBuild.3209@\my_Pvob(Component3 @ \my_Pvob )(不可修改)
建议基准:
myProjc_RelBuild.1614@\my_PVOB(Compent1 @ \my_Pvob)(可修改)
myProj_RelBuild.5158@\my_Pvob(Component2 @ \ my_Pvob)(可修改)

如何使component3可修改的组件?有什么方法可以做广告作为推荐基准的一部分?

解决方案

您可以尝试以下方法:

  cleartool chproj -amodcomp Component3 @ \my_Pvob yourProject @ \my_Pvob 

然后您应该更新您的流:

  ct chstream -generate stream:yourStream @ \myPVob 

最后更新您视图的配置规范

  cd / path / to /您的/视图
cleartool setcs -stream

然后您可以尝试再次结帐。


A new UCM project was created with multiple baselines configured

When i am trying to checkout files from particular component , I was not allowed to checkout and it said may be the stream will be read-only.

I am able to checkout other component files in the stream. So i tried to run the following command

cleartool lsstream -view "MyBuildView" -l

Output had many things and the baseline related information i have copied below.

I am able to see that the component3 is non-modifiable as also it is not there in recommended baseline. (i added it separately as while creating the project it was missed)

foundation baselines:
  myProjc_RelBuild.1614@\my_PVOB (Compent1@\my_Pvob) (modifiable)
  myProj_RelBuild.5158@\my_Pvob (Component2@\my_Pvob) (modifiable)
  myProj_RelBuild.3209@\my_Pvob (Component3@\my_Pvob) (non-modifiable)
recommended baselines:
  myProjc_RelBuild.1614@\my_PVOB (Compent1@\my_Pvob) (modifiable)
  myProj_RelBuild.5158@\my_Pvob (Component2@\my_Pvob) (modifiable)

How to make component3 modifiable component? Is there any way i can ad as part of recommended baseline? Is it mandatory?

解决方案

You can try a:

 cleartool chproj -amodcomp Component3@\my_Pvob yourProject@\my_Pvob

You then should update your stream:

 ct chstream -generate stream:yourStream@\myPVob

And finally update the config spec of your view

 cd /path/to/your/view
 cleartool setcs -stream

Then you can try and checkout again.

这篇关于在明确的情况下,如何将不可修改的基准转换为可修改的基准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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