Community
Participate
Working Groups
20020314 If I create a patch file with Team/Create Patch... the resulting file inserts strange line separators for all 'old', that is 'binary' source files. Their line separator become '\r\r\n', all other lines have the (Windows) line separator '\r\n'. If you open a patch file in the Eclipse text editor every 'real' line is followed by an empty line because the Eclipse text editor can deal with heterogenous line separators and sees a '\r' followed by a '\r\n'. I added a workaround for this problem to the 'Compare with Patch' code which silently ignores empty lines within a hunk.
This is a side-effect of VCM 1.0's incorrect usage of binary files. I don't how this can be resolved. If a binary file is edited as a text file then EOL conversions aren't performed and '\r\n' characters added by Eclipse will be sent to the server. The server-side diff command adds the extra '\r'.
I think we should have a look at this for F1. I think it may be an easy fix.
Fixed
Verified.