How to retrieve incoming changes using server-side Java API?
I am implementing a Java extension to RTC, and I need to retrieve the list of incoming changes to a stream (or a repository workspace).
I have found some samples of code that use client-side classes, and I wonder how to achieve the same results using server-side classes. My RTC version is 4.0.6. |
Accepted answer
Luca,
you can use the compare methods of IScmService:
compareWorkspaces(localWorkspaceHandle, remoteWorkspaceHandle, remoteRepoDescriptor, flags, excludedComponents, syncTimes, monitor)
or
compareWorkspaceConfigurations(sourceWorkspace, targetWorkspace, componentsToConsider, monitor)
Michele.
Luca Martinucci selected this answer as the correct answer
Comments 1
Luca Martinucci
commented Feb 17 '15, 9:47 a.m.
Using the first method with the appropriate flags (I need to retrieve both incoming change sets and incoming baselines), I reached my goal.
|
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.