It's all about the answers!

Ask a question

How to discard change sets on component

qiu saphen (27126039) | asked May 27 '11, 1:37 a.m.
retagged Aug 05 '16, 4:56 p.m. by Ken Tessier (84117)

I have delivered some changes to remote stream.
Suppose the history is:

1.add a
2.add b
3.add c

I want to discard 1 and 2 change set, but leave 3.
I select 1 and 2 from history view, and right-click them, select 'Discard...', then I see the history has 3 only.
But from the 'Pending change' view, I find that there has an outgoing pending change from remote stream, what I can do is only 'accept', if I accept, the change set 1 and 2 will come back....
My question is how can I discard history from workspace and then deliver them to remote stream?

Many thanks!

Accepted answer

permanent link
Tim Mok (6.6k38) | answered May 27 '11, 9:05 a.m.
After the discard, you can right-click on the component and replace in stream.

For more details on the different methods to discard a change set from a stream, refer to the SCM FAQ:
David Lafreniere selected this answer as the correct answer

One other answer

permanent link
Ken Tessier (84117) | answered Aug 05 '16, 4:54 p.m.

Your answer

Register or to post your answer.