默认情况下,如何使用ClearCase命令行工具使退房不保留 [英] How to make check-outs be unreserved by default using ClearCase command line tools

查看:84
本文介绍了默认情况下,如何使用ClearCase命令行工具使退房不保留的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以默认取消保留 cleartool 结帐?也许是〜/ .cleartool 文件或某些环境变量?我知道可以在VOB(或所有VOB)上设置默认值,但是该选项超出了我的控制范围。

Is there a way to make cleartool checkouts unreserved by default? Perhaps a ~/.cleartool file or some environment variable? I understand the default can be set on the VOB (or all VOBs), but that option is beyond my control.

我正在使用的ClearCase版本是:

The ClearCase version I'm using is:

$ ct -version ClearCase version 7.0.1 (Wed May 30 17:04:58 EDT 2007)
7.0.1.0-RATL-RCC-IFIX01 (Wed Sep 19 16:08:10 EDT 2007) @(#) MVFS version
7.0.1.0-IFIX01 (Thu Sep  6 20:09:08 2007) built at $Date: 2009-12-08.14:59:16 (UTC) $ cleartool 
7.0.1.0-IFIX01 (Thu Aug  9 20:20:45 EDT 2007) db_server                   
7.0.1.0-IFIX01 (Fri Sep 14 20:23:09 EDT 2007) VOB database schema version:    54

您可能会问 为什么在默认情况下将默认值设置为 保留 是一个公平的问题。但是,此事是我无法控制的。

You may ask "why in world would the default ever be set to -reserved?" A fair question. However, the matter is beyond my control.

更新:我忽略了提到的环境是Linux。

Update: I neglected to mention the environment is Linux.

推荐答案

在ClearCase Explorer中,菜单:

In the ClearCase Explorer, menu:

Tool / Options / button ClearCase Options / Tab "Operations"

未选中已保留

但是,这是针对一个用户的,而不是针对 all 用户的全局设置...

However, this is for one user, not a global setting for all users...

在Windows上,它存储在注册表中:

On Windows, this is stored in the registry at:

HKEY_CURRENT_USER\Software\Atria\ClearCase\CurrentVersion\Checkout

键:

Reserved 0

因此,如果您可以将其添加为安装后设置,则可以使用自定义设置将该行为推广到所有用户。

So if you can add that as a post-install setting, you could generalize that behavior to all users using your custom setup.

替代文字http://www-01.ibm.com/support/docview.wss?uid=swg21135939&aid=2

请参阅也 IBM技术说明

OP unhillbilly 对命令 cleartool unres (未保留),

The OP unhillbilly comments rightly about the command cleartool unres (unreserve), which:

将元素的检出版本的检出状态更改为未保留。

将版本事件记录的临时不保留检出写入VOB数据库。

changes the checkout status of a checked-out version of an element to unreserved.
A temporary unreserve checkout of version event record is written to the VOB database.

这篇关于默认情况下,如何使用ClearCase命令行工具使退房不保留的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆