Cleartool从rmname文件夹中删除已签出的文件 [英] Cleartool removing a checkedout file from a folder with rmname

查看:120
本文介绍了Cleartool从rmname文件夹中删除已签出的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用cleartool rmname从文件夹中删除由其他人签出的文件?

How can I use cleartool rmname to remove a file, that is checkedout by some one else, from a folder? Is this possible?

推荐答案

命令行 cleartool rname -force 只有在另一个分支中检出文件时才需要。

The command-line cleartool rname -force is only necessary when the file is checked out in another branch.

这可以绕过错误消息:'file'具有检出

That allows to bypass the error message: 'file' has checkouts

在这种情况下,您需要签出父目录首先, rmname ,然后不要忘记签入父目录,否则其他人仍然可以看到您的文件。

In that case, you need to check out the parent directory first, rmname, and then don't forget to check in the parent directory, or your file will still be visible by others.

请参阅技术说明>关于cleartool rmname和结帐信息 a>

See more at the technote "About cleartool rmname and checkouts"


cleartool rmname有一个 -force 选项/ code>从命令行开始,即使在有签出的情况下,命令执行也可以正常工作。

There is a -force option available for cleartool rmname from command line that will allow the command execution to work even while there are checkouts.

此选项可强制从Director中删除名称y,当元素至少有一个检出,但实际上并没有取消该元素的任何检出。

This option forces the removal of the name from the directory when there is at least one checkout of the element, but it does not actually cancel any checkouts of the element.

这篇关于Cleartool从rmname文件夹中删除已签出的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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