It's all about the answers!

Ask a question

how to replace with a changeset in RTC source control


sreenath v (7863) | asked Jun 20 '18, 5:11 a.m.
retagged Aug 03 '18, 10:13 a.m. by Ken Tessier (84117)

 Hi,


How to repalce a component with some other changeset. I saw the option replace with Baseline .But i need to get particular changeset.In git we can use git reset --hard <changeset> like this is there any option to replace?

Accepted answer


permanent link
David Lafreniere (4.8k7) | answered Jun 20 '18, 10:53 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
edited Jun 20 '18, 10:55 a.m.
Prior to RTC 6.0.4, you could:
1) replace the component with a baseline that came before the change set you want, and then either accept/deliver the change sets from that baseline up to the exact change set you want,
or
2) you could replace the component with a baseline that came after the change set you care about, then discard change sets till you get to the exact change set you want.

However, in RTC 6.0.4 a feature was delivered that makes this use case much easier to accomplish. Using the 'Operation History' view, you can roll-back a workspace (or a specific component in a workspace) to any point in time, meaning you can roll-back to a state which was 'at the exact change set you care about'. You can also create a new repository workspace from that state without impacting the original workspace. To read more about this feature, see:


sreenath v selected this answer as the correct answer

One other answer



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.