ClearCase
IBM Rational ClearCase 是一款由 IBM 开发的版本控制、工作区管理、并行开发支持和构建自动化解决方案。在 Linux 和 Windows 上使用 ClearCase 客户端插件访问 ClearCase 服务器。
注意: 启用 ClearCase 插件才能使用它。
在 ClearCase 中使用 GNU Diffutils
你可以在 ClearCase 中使用 GNU Diffutils 工具来比较文件和活动:
- 下载Diffutils并解压缩到 PATH 目录中。
- 选择首选项>Version Control >ClearCase 。
- 选择External 单选按钮。如果
diff
不在 PATH 中,则禁用该单选按钮。 - 在Arguments 字段中,指定运行
diff
的参数。
签出和签入
除了使用常用 VCS 功能中描述的标准版本控制系统功能外,您还可以签出和签入文件。
要创建文件的可写副本,请选择Tools >ClearCase >Check Out 。如果在统一变更管理 (UCM) 视图中签出文件,它们会被添加到 UCM 活动的变更集中。默认情况下,活动会自动分配名称。要禁用此功能,请选择首选项>Version Control >ClearCase ,然后清除Auto assign activity names 复选框。
要在编辑文件时自动签出文件,请选择Automatically check out files on edit 复选框。
要取消文件的签出并删除已签出版本,请选择Tools >ClearCase >Undo Check Out 。
要在当前 UCM 活动的更改集中签入已签出的文件版本,请选择Tools >ClearCase >Check In Activity 。
要为当前文件或版本控制对象库 (VOB) 中的所有文件创建永久新版本,请选择Tools >ClearCase >Check In 。要确认要签入文件,请选择首选项>Version Control >ClearCase ,然后选择Prompt on check-in 复选框。
默认情况下,在检出或检入文件时必须输入注释。要抑制此提示,请选择首选项>Version Control >ClearCase ,然后选择Do not prompt for comment during checkout or check-in 复选框。
如果更改加载到快照视图的文件的只读属性,并在未签出的情况下修改文件,则会劫持该文件。要将被劫持的文件恢复到其签出版本,请选择Tools >ClearCase >Undo Hijack 。
默认情况下,VOB 中的文件会编入索引,以便快速访问其状态。要禁用索引,请选择首选项>Version Control >ClearCase ,然后选择Disable indexer 复选框。要只为某些 VOB 编制索引,请在Index only VOBs 字段中指定它们。
在History count 中指定要显示的事件记录数。
在Timeout 中设置版本控制操作的超时。
另请参阅 启用和禁用插件、设置版本控制系统、使用常用 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.