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

Categories

0 votes
690 views
in Technique[技术] by (71.8m points)

version control - CC delete option from CC explorer

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

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

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...