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

问题描述

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



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



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

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.

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

07-27 18:05