如果文件夹名称以大写字母开头,则添加到源代码管理无法显示活动列表

时间:2012-06-07 06:37:14

标签: clearcase clearcase-ucm

今天我们在Clearcase UCM遇到了奇怪的问题。

我们尝试添加名为“Common”的文件夹(其中包含许多子文件夹和文件元素)。

当我们点击添加到源代码管理时,它不会显示活动列表框。 (它显示为好像我们试图在基本clearcase中添加源控件)。

当我们取消它时,它抛出异常并首先将文件夹名称更改为小写字母(常用)。如果我们尝试将其添加到源代码控制中,它会显示活动列表。(就像普通的UCM添加到源代码控制对话框中一样)。

我们检查了cc.cpl中的案例保存复选框,然后重新启动了服务。但我们仍面临同样的问题。

我们使用的是最新的clearcase,操作系统是Windows 7.我不确定为什么会这样。它阻止我们添加名为“Common”的源代码控制。

可能是什么问题?如果您已经面对并解决了它,请指导我。

1 个答案:

答案 0 :(得分:1)

通常建议,无论何时通过GUI发生奇怪错误,都要回退到CLI。

请参阅:

你可以这样做:

# go to the parent directory of Common
cd <view/path/to/Common>/..
# check there is a current activity set
cleartool lsact -cact
# checkout the parent directory
cleartool checkout -nc .
# add to source control Common (not its content, just the directory)
cleartool mkelem –nc -ci -ptime –eltype directory
# checkin the parent directory
cleartool checkin -nc .