vivek
vivek

Reputation: 587

clearcase: How to remove checked in file from the activity branch

I have checked in one file say "main.c" in my activity branch. Now I want to remove this checked in file i.e. "main.c" from my activity branch. How can I remove this file from my activity branch.

As I want to deliver some files to the main line from my activity branch but I don't want to deliver this file i.e. "main.c" to the main line. That's why i want to remove this file from my activity branch.

Upvotes: 1

Views: 853

Answers (1)

VonC
VonC

Reputation: 1323793

See "Moving a UCM version in a change set from one activity to another"

You can open the properties of an activity, select the version of the file you want to move, and click "Move to Activity..."

http://www-01.ibm.com/support/docview.wss?uid=swg21124923&aid=2

Or you can do it in command-line with cleartool chact:

cleartool chact -fcset anActivity -tcset aNEWActivity M:\MyDynamicView\avob\path\afile.txt@@\main\abranch\1

You meed to make sure aNEWActivity exists before the move.

That way, you can deliver anActivity without deliverying aNEWActivty, so without delivery the version of the file you have moved in it.

Upvotes: 1

Related Questions