Use the RTC Jazz API to accept change sets
![]()
Zoe Slattery (40●1●17●20)
| asked Apr 16 '14, 10:58 a.m.
edited Aug 16 '18, 1:14 p.m. by David Lafreniere (4.8k●7)
|
Accepted answer
![]()
the javadoc, downloadable from the jazz,net/downloads for your product level (all downloads)
will have that in it. acceptIUpdateReport accept(int flags, java.util.List incoming, ITeamRepository optionalTeamRepository, org.eclipse.core.runtime.IProgressMonitor monitor) throws TeamRepositoryExceptionAccepts into the workspace the given incoming change sets. The incoming change sets are added to the workspace, effectively incorporating the changes they describe into the workspace configuration. The resulting update report contains an entry for each item mentioned in one of the incoming change sets not already present in the workspace. These entries describe what happened to the item in the workspace, and provide the information that a client would need to perform a user-directed 3-way merge and to complete the integration of the changes into the workspace. Clients should be written without making strong assumptions on exactly how a server will perform this operation; clients should instead entirely work from the information contained in the report returned on each occasion. Items that require client intervention to complete the merge are considered to be conflicted. Zoe Slattery selected this answer as the correct answer
|
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.