CC delete option from CC explorer

泄露秘密 提交于 2019-12-18 07:10:08

问题


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.

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.


回答1:


It is cleartool rmname.

It will checkout for you the parent directory, derefence the file (rmname) and checkin the parent directory.

See "About cleartool rmname and checkouts"

The Delete operation from within ClearCase Explorer on Microsoft® Windows® executes a cleartool rmname, not a cleartool rmelem or cleartool rmver.

Of course, this is valid for a file or a directory (see "Clearcase Delete Directory").

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".



来源:https://stackoverflow.com/questions/17729699/cc-delete-option-from-cc-explorer

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