Patching from another stream
![]()
Steve Briand (41●17●17)
| asked Aug 15 '12, 6:33 p.m.
retagged Jun 23 '14, 2:38 p.m. by David Lafreniere (4.8k●7)
Here is the scenario:
There is no option to select the Compare Editor and the patch is not moved into the Unresolved section where one can invoke the Compare Editor. The Pending Patch remains with the same options available as described above. The conflicts are relatively straightforward and could be resolved using the Compare Editor.
What gives?
|
2 answers
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Aug 17 '12, 7:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Aug 17 '12, 7:28 a.m.
The patch system has issues, which should be addressed by the high priority work item 128329, scheduled for RTC-5.0. But until that is available, you will need to use the patch system. I'm not an RTC patch expert, but in my experience, patches work best when they are generated in an RTC "accept" context. In particular:
- load a workspace which contains the configuration that you want to patch - open the work item that contains the change set that you want to apply to this configuration - in the links tab of the work item, right click on the change set you want and select the "accept" operation - if you are lucky, the accept will just work, and you are done ... but if not, it will tell you there is a gap, and do you want to create a "patch". Say "yes", and the rest of the patch workflow should then work. |
![]()
In RTC 4.0.5 we delivered additional support when trying to accept change sets which have a gap (often encountered when trying to backport fixes). In a very brief summary of the feature, when you accept change sets with a gap, you can now follow a gap workflow that accepts one change set at a time and, for change sets that contain gaps, creates a new change set (with aided traceability), that contains the equivalent changes. This means users will not have to accept the change sets 'as a patch. Applying change sets as a patch has limitations compared to the new workflow (as discussed in the article below).
This feature is summarized in the RTC 4.0.5 'New & Noteworthy' page: https://jazz.net/downloads/rational-team-concert/releases/4.0.5?p=news#scm-improve-usability-405-m1 Below are some videos which show this feature: -Accepting multiple change sets with gaps in the RTC 4.0.5 client for Eclipse IDE: https://www.youtube.com/watch?v=28raag5RdzU -Accepting a change set with a gap in the RTC 4.0.5 client for Eclipse IDE: https://www.youtube.com/watch?v=TucVu_BgB7E 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 Both features are explained in detail in the "Improved Gap Handling for SCM" article: https://jazz.net/library/article/1372 |
Comments
I neglected step 3.4 with should have indicated that I selected "Merged into Workspace" from the context menu of the pending patch.