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

How to Programmatically Get Revision Information

Hi again

another scenario

A user takes two Patches, built from two separate Change Sets. The same source/data items exist within both patches, at different revisions. Patch A contains the latest version of some routines, whilst Patch B contains the latest version of some others.

We need to identify the latest revisions of the items contained in the Patches, in order to programmatically transfer the latest iterations to the user’s Unix area. We cannot simply assume Patch A supercedes Patch B or vice versa.

Can anyone provide guidance on how this should be done

many thanks

Paul

0 votes



One answer

Permanent link
I believe the short answer is that "you can't". A "patch" does not
contain nearly enough information to allow you to do what you describe.
To handle this, you would need the repository's knowledge of the
relationship between change-sets, which is what the RTC SCM system provides.

So you can use the RTC SCM system to perform this operation on change
sets, but cannot do this operation on just the Patches produced from
change sets.

Cheers,
Geoff

PJBishop wrote:
Hi again

another scenario

A user takes two Patches, built from two separate Change Sets. The
same source/data items exist within both patches, at different
revisions. Patch A contains the latest version of some routines,
whilst Patch B contains the latest version of some others.

We need to identify the latest revisions of the items contained in the
Patches, in order to programmatically transfer the latest iterations
to the users Unix area. We cannot simply assume Patch A
supercedes Patch B or vice versa.

Can anyone provide guidance on how this should be done

many thanks

Paul

0 votes

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
× 10,938

Question asked: Jul 14 '09, 5:27 a.m.

Question was seen: 4,542 times

Last updated: Jul 14 '09, 5:27 a.m.

Confirmation Cancel Confirm