List depency changeset for a given changeset
4 answers
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: https://jazz.net/downloads/rational-team-concert/releases/5.0?p=news#eclipse-fill-gaps
The classes that are involved for filling the gap include:
client side: IWorkspaceConnection.findChangeSetsToAcceptToFillGap(...)
server side: IScmQueryService.findChangeSetsToAcceptToFillGap(...)
Gaps are explained in more detail in the "Improved Gap Handling for SCM" article: https://jazz.net/library/article/1372
This feature is summarized in the RTC 5.0 'New & Noteworthy' page: https://jazz.net/downloads/rational-team-concert/releases/5.0?p=news#eclipse-fill-gaps
The classes that are involved for filling the gap include:
client side: IWorkspaceConnection.findChangeSetsToAcceptToFillGap(...)
server side: IScmQueryService.findChangeSetsToAcceptToFillGap(...)
Gaps are explained in more detail in the "Improved Gap Handling for SCM" article: https://jazz.net/library/article/1372
No, there is no API that provides this info. I imagine the code would involve a lot of searching in the repository that would be quite intensive.
Comments
Probably not given the fact that the changesets would be on the same component and that the merge/deliver highlighting is already doing something similar on the "Pending Changes" view
For my team, this is a must-have in short/mid-term for RTC...
(IIRC, I saw some workitems about gaps resolution/search for next milestones...)
[Please delete it was a duplicate]
A lot of the proposed gap work is the ability to accept a change set without finding a change set that can fill the gap. It is a feature in progress and only some of the stories are targeted for the next milestone.
This is work item Provide GAP filling APIs (16842) . It is not currently in-plan, so feel free to add a comment indicating your interest/support. A GUI-level version of this request (there are several) is: "Confirm Content Accept" dialog should be more specific (offer to fill in gaps when a gap exception occurs) (24822)
One workaround that I placed in my solution is as Follows.
Assuming Dependent change sets are the change sets that either to be delivered at once together. That happens if any descendent change set present having same file in that.
So what I search for an particular change set is all Descendent change sets that is having same Item ID. and list down each of them.
Assuming Dependent change sets are the change sets that either to be delivered at once together. That happens if any descendent change set present having same file in that.
So what I search for an particular change set is all Descendent change sets that is having same Item ID. and list down each of them.