It's all about the answers!

Ask a question

How to list dependent changesets for a given changeset?

Maggie Stearns (1063027) | asked Feb 07 '11, 10:09 p.m.
retagged Jun 24 '14, 10:28 a.m. by David Lafreniere (4.8k7)

We are using RTC2.0.0.2iFix4

A few times we have run into issues where one change set is dependent on another change set. In this case we get prompted to accept the change set as a patch. What we would really like to do is go and find the dependent change sets and pull those in. Given a change set in a work item, do you know how to find the change sets that that one depends on?

Note: These are not dependencies that get manually created between work items. These are file dependencies that RTC knows about.


One answer

permanent link
David Lafreniere (4.8k7) | answered Jun 24 '14, 10:27 a.m.
In RTC 4.0.5 we delivered additional support when trying to accept change sets which have a gap (often encountered when trying to backport fixes). In a very brief summary of the feature, when you accept change sets with a gap, you can now follow a gap workflow that accepts one change set at a time and, for change sets that contain gaps, creates a new change set (with aided traceability), that contains the equivalent changes. This means users will not have to accept the change sets 'as a patch'. Applying change sets as a patch has limitations compared to the new workflow (as discussed in the article below).
This feature is summarized in the RTC 4.0.5 'New & Noteworthy' page:
Below are some videos which show this feature:
-Accepting multiple change sets with gaps in the RTC 4.0.5 client for Eclipse IDE:
-Accepting a change set with a gap in the RTC 4.0.5 client for Eclipse IDE:

In RTC 5.0 we added a "fill the gap" feature where the change sets that fill the gap are shown to the user, allowing them to either accept all the change sets or to continue with the gap workflow that was available in RTC 4.0.5.
This feature is summarized in the RTC 5.0 'New & Noteworthy' page:

The classes that are involved for filling the gap include (available in RTC 5.0):
client side: IWorkspaceConnection.findChangeSetsToAcceptToFillGap(...)
server side: IScmQueryService.findChangeSetsToAcceptToFillGap(...)

Both features are explained in detail in the "Improved Gap Handling for SCM" article:

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.