Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC 4.0 - Create patch to resolve gap from Visual Studio client and Windows shell client

I understand patch can be created to resolve gap in Eclipse client. However I could not find menu or relevant information to create patch from Visual Studio client and Windows Shell client

Is there a way to create patch from Visual Studio client and Windows Shell client?
Or is it only possible to create patch from Eclipse client?

0 votes


Accepted answer

Permanent link
In Visual Studio and Shell clients, a patch is created under the hood in case of gaps - there's no user initiated patch creation. So if you try to accept a change set that will cause a gap, the tool will ask the user if she wants a patch created and if the user agrees, then a patch will be crated and show up on the Pending Changes view. The patch can then be merged into the user's workspace the usual way.
The reason explicit patch creation isn't enabled in the Shell or  Visual Studio is because this type of patch creation is really an Eclipse concept. In future releases, we may rename the term patch into something that would be more universally understood by developers.

Cheers
--Rupa
DH Lee selected this answer as the correct answer

0 votes

Comments

Note: The above answer is true for clients prior to 4.0.5

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

<continue reading my next comment> (There is a restriction on how many characters I can put in a comment)

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

The classes that are involved for filling the gap include (available in RTC 5.0):
client side: IWorkspaceConnection.findChangeSetsToAcceptToFillGap(...)
server side: IScmQueryService.findChangeSetsToAcceptToFillGap(...)

Both features are explained in detail in the "Improved Gap Handling for SCM" article: https://jazz.net/library/article/1372

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202
× 35
× 20

Question asked: Nov 18 '12, 10:43 p.m.

Question was seen: 7,028 times

Last updated: Jun 24 '14, 4:47 p.m.

Confirmation Cancel Confirm