1

In UCM ,some times we may need to do activities for experimental purpose .

It may or may not be included as part of final delivery.

If we do not want to deliver we will not deliver it to integration stream.

But the problem here is dependency , some times the experimenting activity make dependency with other activity and we are forced to deliver it.

Is there any way to safely do experimentation without any side effect?

Is it possible to delete the activity and their corresponding changeset as if it was not added in clearcase itself?

Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230

2 Answers2

1

The safest way is to isolate that experimentation in its own UCM Stream.
Because if you don't, you may be able to do partial delivers from a while, before being forced to deliver all your activities: see "Clearcase UCM - Cross delivering vs. delivering upwards?".

The other dependency issue is file-based (when your activities to be delivered are based on versions created in activities for experiment). That is another argument for isolating said experiment in its own Stream.
And that would make deleting an activity quite dangerous.
Deleting an activity is only possible if it is empty, meaning if you have moved all the versions in another activity (which solves nothing), or if you have rmver them.
And you should avoid deleting a version (too dangerous in ClearCase UCM).

With a dedicated Stream, you are sure to deliver all activities, or to deliver none.


The subtractive merge mentioned by Tamir certainly isn't a solution, especially when you have many activities to cancel (ie when you have been forced to deliver many activities).
You do have a script to cancel an activity (see "Reverse Changset of an activity in Clearcase"), but that will pollute your history with many additional versions.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • See http://stackoverflow.com/questions/4257402/how-do-i-undo-a-checkin-in-clearcase-remote-client/4259212#4259212 for all the links where I detail why `rmver`is a bad idea. – VonC Oct 11 '12 at 06:33
  • I didn't want to mention cset.pl script since it makes it too easy to destroy the code and history. – Tamir Gefen Oct 11 '12 at 19:57
-2

Besides, you can do subtractive merge. However it's quite dangerous and you should do it very carefully. You can find more info here: http://www-01.ibm.com/support/docview.wss?uid=swg21123001

Tamir Gefen
  • 1,128
  • 2
  • 18
  • 35