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

Why only ASCII text files can be included in a RTC patch?

Hi All,

We need to create patch from RTC change so that we can apply it into other SCM systems, but there is one problem, binary file would not be included in the patch.

We also found that there is a --text option in a linux diff command to have the diff to treat all files as text, as a result, binary file would be included, so i am wondering why RTC don't have this option too?

Regards,
Makson

0 votes



One answer

Permanent link
In almost all cases, normal "patch" logic does not work at all with
binary files. On the other hand, being able to apply "diff" to a binary
file is sometimes useful, to see what bytes are different.

Cheers,
Geoff

On 2/12/2012 8:23 PM, cdlee wrote:
Hi All,

We need to create patch from RTC change so that we can apply it into
other SCM systems, but there is one problem, binary file would not be
included in the patch.

We also found that there is a --text option in a linux diff command to
have the diff to treat all files as text, as a result, binary file
would be included, so i am wondering why RTC don't have this option
too?

Regards,
Makson

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

Question asked: Feb 12 '12, 8:12 p.m.

Question was seen: 5,588 times

Last updated: Feb 12 '12, 8:12 p.m.

Confirmation Cancel Confirm