Comparing Snapshots : How to get the changesets of a component added in both snapshots but different baselines. - Java API
Hello Team,
|
Be the first one to answer this question!
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.
Comments
Can you explain in detail what is the scenario, and what is the problem?
Actually, I have done such a comparison with RTC plain Java API, using the same method you are using (compareBaselineSets).
Once you have retrieved your changeSync, you can easily retrieve the "delta changesets", i.e. the change sets that are in one snapshot, but not in the other.
It does not really matter whether or not the component is in different baselines in the two snapshots.
Thanks for your reply Luca Martinucci.
In the eclipse view, for the compare snapshots --> each other, will give me the diff : but sometimes i get :
for each component : only in <<SomeSnapshot>> and will display some changesets. However this Changesets are not returned from the compareBaselineSets method.
Why these changesets(in the eclipse view are displayed), as only in <<someSnapshot>>, why not in the API ?
Am really not understanding if the eclipse operation of comparing the snapshots with each other and the API "compareBaselineSets", works similar ?
Is there anyway i can understand more on this eclipse "compare snapshot operation" ?
Am not sometimes able to get the results matching with the eclipse view and the API.
Please help me understand how both are working.
Thank you.
In addition,
from the API i get the IChangeHistorySyncReport. It contains both incoming and outgoing changesets.
Could you please give example of a incoming changeset. Am not understanding the incoming changesets.