How do you "split out" part of a completed change set into a separate change set?
![]()
Geoffrey Clemm (30.1k●3●30●35)
| asked Jul 31 '12, 11:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You have a change set in a workspace, and you want to deliver only part of it to a particular stream.
If you haven't completed the change set, this is easy ... just create a new change set, and "move" some of the changes in the original change set into the new change set. But if you have completed the change set, you can no longer perform a move. |
One answer
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Jul 31 '12, 11:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You cannot currently do this directly. This feature as been requested in work item 59688 ( https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/59688 ). Please feel free to add a comment to that work item indicating your interest/support.
As a workaround, using the Eclipse RTC client Pending Changes view: - load a workspace in which that change set can be suspended (i.e. a workspace that does not have other change sets that modify the versions produced by that change set): - right click on the component containing the change set, and select "Show -> History" - In the history view, right click on the change set, and select "suspend" - switch back to the Pending Changes view - right click on the suspended change set and select "New -> Patch..." - In the menu bar, select "Project -> Apply_Patch..." - right click on the patch, and select "Auto_Resolve..." You will now have the set of changes of the change set in the Unresolved folder. Checkin the appropriate changes to a new change set Checkin the rest of the changes to a different change set Comments Geoff
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If the change set is in some other stream/workspace (e.g. in Stream1 in the above comment), then make that stream the current flow target of your workspace, and the change set will appear as an "incoming change" in the pending changes view. Right click on that change set, and select "New -> Patch". Accept that patch into your sandbox and "check-in" the parts of the patch you want and "undo" the changes that you don't want.
Hi Geoff
I work with RTC version 3.0.1.2 .
Does your solution for splitting a change set (dated 28-Dec-2012), work in our RTC version as well ?
If not, from which RTC version it does work.
Regards,
Yisrael
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It's been a while since I've used a 3.0 version of RTC, but I believe this should work in 3.0 as well. |