clearcase - "Access Denied"尝试删除 ClearCase .mkelem 文件时出错

标签 clearcase

为什么我会得到这些 .MKELEM 文件?我该如何摆脱它们?

我发现一些文档说它们是在将文件添加到源代码管理时由 ClearCase GUI 创建的临时文件。但有时,它们不会消失。

其他信息:我在尝试删除或重命名 .MKELEM 时“访问被拒绝”。它们似乎是在我向 clearcase 添加新文件时创建的。

最佳答案

mkelem tip page 中所述:

During the element-creation process, the view-private file is renamed to prevent a name collision that would affect other Rational® ClearCase® tools (for example, triggers on the mkelem operation). If this renaming fails, you see a warning message.

If a new element is checked out, mkelem temporarily renames the view-private file, using a .mkelem (or possibly, .mkelem.n) suffix. After the new element is created and checked out, mkelem restores the original name. This action produces the intended effect: the data formerly in a view-private file is now accessible through an element with the same name.

If mkelem does not complete correctly, your view-private file may be left under the .mkelem file name


.mkelem 保留的事实可以是,例如 LeopardSkinPillBoxHathis answer 中提到,因为一个文件由于进程而被阻止。

它也可能发生:

  • 在 ClearCase View 中未正确保护(ClearCase 可以 check out 新元素,创建版本 0,但无法检入该元素。

alt text http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m1/topic/com.ibm.rational.clearcase.dev.doc/topics/cc_dev/images/creating_element.gif

另见 Under the hood: What happens when you add to source control文章。

关于clearcase - "Access Denied"尝试删除 ClearCase .mkelem 文件时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2459030/

相关文章:

java - 为什么我的 Eclipse 项目与 ClearCase 没有关联?

C# 套接字和 ClearCase 动态 View 问题

powershell - 有什么方法可以将(Powershell)安全字符串凭据传递给runas命令吗?

linux - 使用 cleartool 在 Linux 上重新设置流基线

ClearCase 仅删除查看私有(private)文件

clearcase - 使用 Clearcase 递归 checkin

visual-sourcesafe - 从 SourceSafe 迁移到 ClearCase 的最佳方式是什么?

version-control - 从明文库迁移到 Mercurial 库

continuous-integration - Hudson 与 UCM ClearCase 集成

ClearCase:交付和 rebase 之间的区别