version-control - 清除大小写错误 : File messed up after failed checkin

标签 version-control clearcase checkin

我们使用 Jenkins 进行持续集成,并且在一项工作中 Jenkins 将文件 checkin 到 Clear Case Integration Stream 中。最近在一项作业中,ClearCase checkin 失败,并显示以下消息:

cleartool: Error: Operation "create_version" unavailable for manager "_xxx_file"    
(Operation pathname was:
"D:\Programs\IBM\RationalSDLC\ClearCase\lib\mgrs\_xxx_file\create_version")
cleartool: Error: Unable to store new version. cleartool: Error:
Unable to check in "Path/To/File/xxx

我能够追溯到错误,但从那时起 ClearCase 中的文件就变得困惑了。每次有人尝试更新连接到集成流的 View 时,他都会收到以下错误消息:

Unable to load "xxx": unknown error in VOB.

我在 Rational Explorer 或 Windows Explorer 中看不到该文件,但是当我在包含的文件夹上单击“与以前的版本比较”时,我可以在两个窗口中看到该文件(属于到当前和以前的版本)。
这种行为真的让我很困惑。

我对 Clear Case 还很陌生,我希望有一种简单的方法来检索以前的版本(类似于 git revert)。

最佳答案

I would love to have a simple way to retrieve the previous version (something similar to git revert).

如果您确实认为要恢复新的有问题的版本,您可以使用 cleartool rmver 完全删除它。 (如 I used it here )。但这是相当危险的。

但在这里,该版本可能从未创建,因为错误消息以“操作“create_version”不可用”开头

您可以在 this technote 中看到此错误消息(关于 ClearCase MultiSite)

This issue occurred after the following sequence of events:

  • VOBs were being moved from an old server to a new server along with upgrading ClearCase from an older version to 7.x.
  • A new type manager had been created on the old server along with an element type called keyed_text_file_delta.

The error occurred because the new type manager and element type keyed_text_file_delta did not exist on the new server.

因此请仔细检查 type manager 是否“_xxx_file”仍然存在于您的 VOB 中,使用 cleartool lstype .

关于version-control - 清除大小写错误 : File messed up after failed checkin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44891146/

相关文章:

visual-studio - Visual Studio Clearcase 长结账

linux - ClearCase Linux GUI 错误比较/ checkin /描述/

ClearCase 转移目录中所有对象的控制权?

visual-studio-addins - VSTS2010 插件开发 - checkin Hook

git - bzr 相当于 git clone --depth HEAD 是什么

mysql - 如何在 MySQL 中进行行版本控制,同时保持外键引用完整性

git - 将 Git 存储库转换为 TFVC 版本控制

visual-studio - 小型项目的轻量级版本控制(原型(prototype)、演示和一次性)

java - TFS eclipse 插件无法 checkin 跨项目内多个文件夹的更改

version-control - 在TFS中搁置和 checkin 有什么区别?