Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
684 views
Welcome To Ask or Share your Answers For Others

1 Answer

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...