清除工具:错误:元素"."不允许签出



我在clearcase中检查"."目录时出错。

FYI:

  1. 视图与流配置同步,并且所有组件都可以修改
  2. 流具有基础基线和推荐基线
  3. vob是ucm-pvob的组成部分。

    cleartool co -nc "."
    cleartool: Error: Checkout disallowed for element ".": 
      the component containing the element or the current stream is read-only 
      in this project, or the stream lacks foundation baselines.
    cleartool: Error: Unable to check out ".".
    

您将如何解决此错误消息?

此处"."似乎表示vob的根文件夹。

vob是ucm-pvob的组成部分。

确保您没有签出pvob
您需要签出组件的vob(与pvob关联),而不是pvob。

我在尝试签出aVob/lost+found文件夹中的元素时看到了此消息
如果是这种情况,您不需要在配置规范中选择"lost+found"目录。

element /aVob/lost+found -none 

否则:

  • 仔细检查您的组件在项目中是否确实可写(项目上的属性)
  • 确保你的流知道

    cleartool chstream -generate stream:a_stream@a_pvob
    
  • 确保视图的配置规范与流配置同步

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

最新更新