Cleartool removing a checkedout file from a folder with rmname

你。 提交于 2019-12-01 11:40:29

问题


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


回答1:


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

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

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.

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

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.

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.



来源:https://stackoverflow.com/questions/12349688/cleartool-removing-a-checkedout-file-from-a-folder-with-rmname

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!