Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to remove the accidentaly checked in files from stream

I have accidentally delivered hundreds of files into a stream and i want to remove all those files from the stream.How can i do this ?I tried reversing the changeset it just reverses the changes we did but doesnot deletes the files.Also discarding a changeset doesnot solve the solution as it jus removes the files from my component but not from the stream.Please help me with this at the earliest.I want to remove all the files I have accidentally checked in through a changeset from my stream

0 votes



One answer

Permanent link
1. Discard the change set from your repository workspace (say it is in 'component 1'). Your discarded change set now shows as incoming since it is still in the target stream.
2. Make sure that your component 1 in your repository workspace is now in the state you wish the target stream to return to - aka, you have no compile errors, etc.
3. Select component 1 in your repository workspace, in the pending change view. Right click > replace in 'name of your stream here'. Click OK to confirm.
4. Your repository workspace and target stream are now identical, your change set has been removed from the stream.

You can also see our Source Control FAQ "How do I remove a change set from a stream" at https://jazz.net/library/article/126#How_do_I_remove_a_change_set_fro . Look for the second method (see 'You can also discard a change set from the stream by replacing the component') since in your case you don't just want to create a second change set that reverses your first change set but actually remove that change set from the history of the stream.

Let us know if you need more details, your stream should be back in shape in no time :-)

Christophe Cornu

1 vote

Comments

Excellent! 

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 21 '11, 6:38 p.m.

Question was seen: 4,380 times

Last updated: Dec 13 '13, 11:50 a.m.

Confirmation Cancel Confirm