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

List depency changeset for a given changeset

Hi,

We're using RTC 4.0 and wanted to check ,If there is a way to get list of dependent changesets for a given changeset using client API.

Thanks..

--Suresh.

0 votes



4 answers

Permanent link
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

1 vote


Permanent link
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.

0 votes

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.


Permanent link
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)

0 votes


Permanent link
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.

0 votes

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
× 10,938

Question asked: Dec 07 '12, 5:18 a.m.

Question was seen: 4,392 times

Last updated: Jun 25 '14, 5:21 p.m.

Confirmation Cancel Confirm