ClearCase
IBM Rational ClearCase 是一款由 IBM 开发的版本控制、工作区管理、并行开发支持和构建自动化解决方案。在 Linux 和 Windows 上使用 ClearCase 客户端插件访问 ClearCase 服务器。
注意: 启用 ClearCase 插件才能使用它。
在 ClearCase 中使用 GNU Diffutils
你可以在 ClearCase 中使用 GNU Diffutils 工具来比较文件和活动:
- 下载Diffutils并解压缩到 PATH 目录中。
- 选择Preferences >Version Control >ClearCase 。

- 选择External 单选按钮。如果
diff不在 PATH 中,则禁用该单选按钮。 - 在Arguments 字段中,指定运行
diff的参数。
签出和签入
除了使用常用 VCS 功能中描述的标准版本控制系统功能外,还可以访问Tools >ClearCase 中的其他功能。
| 菜单项 | 说明 |
|---|---|
| Check Out | 创建文件的可写副本。如果在统一变更管理 (UCM) 视图中签出文件,它们会被添加到 UCM 活动的变更集中。 |
| Undo Check Out | 取消文件的签出并删除已签出版本。 |
| Check In Activity | 签入当前 UCM 活动变更集中的所有已签出文件版本。 |
| Check In | 为当前文件或版本控制对象库 (VOB) 中的所有文件创建永久新版本。 |
| Undo Hijack | 将被劫持的文件恢复为已签入版本。如果您更改了加载到快照视图中的文件的只读属性,并在未签出的情况下修改了文件,则该文件被劫持。 |
ClearCase 偏好设置
要设置 ClearCase 首选项,请选择Preferences >Version Control >ClearCase 。
| 首选项 | 说明 |
|---|---|
| History count | 在历史视图中显示的事件记录数。 |
| Timeout | 版本控制操作的超时(秒)。 |
| Automatically check out files on edit | 编辑文件时自动签出文件。 |
| Auto assign activity names | 自动为 UCM 活动分配名称。 |
| Do not prompt for comment during checkout or check-in | 默认情况下,签出或签入文件时必须输入注释。该选项会抑制注释提示。 |
| Prompt on check-in | 在选择Check In 时显示提示,以确认要检入文件。 |
| Disable indexer | 禁用 VOB 中的文件索引。要只为某些 VOB 编制索引,请在Index only VOBs 字段中指定它们。 |
另请参阅 启用和禁用插件、设置版本控制系统、使用常用 VCS 功能和版本控制系统。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.