How Do I Remove a Suspended Change Set from a Stream
Hello all,
We needed to create a stream based on a specific build. Unfortunately, the snapshot for that build was not present and there had been several changes to the stream subsequent to that build. Fortunately, somebody had a workspace was still based on the needed build. They had some pending changes they were working on, but suspended that change set so that we could create a new stream based on that workspace. The problem is that now when anybody loads the stream they see the suspended change set. Is there a way to remove that suspended change set form the stream? I've loaded the stream and discarded the workspace, but this didn't show up as a pending change that I could deliver. |
2 answers
The easiest way would be to re-create that stream based on a workspace that didn't have suspended change sets. Discard the change sets instead of suspending them, then create the stream off of the workspace.
|
Geoffrey Clemm (30.1k●3●30●35)
| answered Jan 15 '11, 12:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
One clarification point:
They must have created the stream from the workspace before suspending the change-sets (otherwise, they wouldn't have been present in the stream). But in any case, to get rid of those change sets, load that stream into a workspace and then ask for the History of the workspace. This will get you a list of change-sets. There are then two ways to get rid of those change-sets: (1) Select the change sets; select the "discard" operation; do a "replace" operation, to replace the configuration of the stream with the current configuration of your workspace. But the "discard" operation may fail, because it would produce a "gap" (i.e. there are change-sets in the workspace that you wanted to keep, but which depend on changes in a change-set you are asking to discard). In that case, you need to use option (2): (2) One by one, select the change sets you want to get rid of, and select the "reverse" operation. This will do a "subtractive merge" and back out the changes made in those change sets. When you are done, deliver the resulting new change-set to the stream. I've submitted a work item requesting the ability to "reverse" more than one change set at the same time, but to my knowledge, this is not yet supported. Cheers, Geoff On 1/13/2011 12:53 PM, shonuff wrote: Hello all, |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.