CC资源管理器中的CC删除选项 [英] CC delete option from CC explorer
问题描述
我想知道当我们从Clearcase资源管理器上下文菜单中选择删除时在内部执行哪个命令。是rmname,rmelem还是rmbranch?我们使用基本CC。
I was wondering which command is executed internally when we select 'Delete' from Clearcase explorer context menu. Is it rmname, rmelem or rmbranch? We use base CC.
我是一名开发人员,由于我不想在CC设置中进行任何与移除相关的实验,因此我决定在此处提出问题。
I am a developer and since I don't want to do any removal related experiments within our CC setup, I decided to ask the question here.
推荐答案
它是 cleartool rmname
。
它将为您检出父目录,取消引用文件(rmname)并检入父目录。
It will checkout for you the parent directory, derefence the file (rmname) and checkin the parent directory.
在Microsoft®Windows®上的ClearCase Explorer中执行Delete操作将执行
cleartool rmname
,而不是cleartool rmelem
或cleartool rmver
。
当然,这对文件或目录有效(请参阅 公文包删除目录)。
Of course, this is valid for a file or a directory (see "Clearcase Delete Directory").
具有 rmname $ c $的好东西c>是您可以取消它,创建一个新版本来还原您已删除的元素(文件或目录)。
请参阅 在ClearCase中撤消删除文件。
The nice thing with a rmname
is that you can cancel it, creating a new version which restores the element (file or directory) that you have "deleted".
See "Undo remove file in ClearCase".
这篇关于CC资源管理器中的CC删除选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!