It's all about the answers!

Ask a question

How to remove an empty changeset ?


Bharath Adhithya (5213352) | asked Sep 05 '13, 6:21 a.m.
In our organization we associate every change set to an work item. We need to remove the change sets which do not have an work item associated with it. When i locate the change set and try to remove it, it is not removed. The one without comments needs to be removed. How this can be achieved  ? Please help.

Thanks,
Adhithya

2 answers



permanent link
Simon Eickel (1.1k75457) | answered Sep 05 '13, 6:55 a.m.
edited Sep 05 '13, 6:58 a.m.
Hi Adhithya,

Change Sets can only be "removed" when they are not delivered. For this you can discard them within the Repository Workspace where they where created.
BUT if a Change Set is delivered once, you are not able to remove this Change Set.


You can delete the content of those Change Sets but the information and the Change Set itself will always exist.

Hope this helps,
Simon

Comments
Simon Eickel commented Sep 05 '13, 6:58 a.m.

Another possibility is to revert a Change Set.
There you create a new change set which negates the contents of another one. But the old one even still exists.


permanent link
Tim Mok (6.6k38) | answered Sep 05 '13, 10:32 a.m.
JAZZ DEVELOPER
You can "discard" a change set from a stream by discarding it from your workspace then performing a component replace in the stream with your workspace's component. If there are other change sets depending on that change set then this will not work. In that case, you'll have to do as Simon suggests and revert it.

Your answer


Register or to post 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.