CVSROOT: cvswrappers - treat patches as binary files

Patryk Zawadzki patrys at pld-linux.org
Tue Nov 4 10:04:40 CET 2008


On Tue, Nov 4, 2008 at 1:35 AM, Tomasz Pala <gotar at polanet.pl> wrote:
> On Mon, Nov 03, 2008 at 22:13:29 +0100, Patryk Zawadzki wrote:
>> been there,
>> done that. It breaks Python.
> Please attach testcase (original and modified file).

foo1.py is the original, foo.patch is the patch against that (altered
to mention foo2.py for easy testing). foo2.py is the new file. Run:

patch -p0 -l < foo.patch

to break the code instead of failing.

-- 
Patryk Zawadzki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo1.py
Type: application/octet-stream
Size: 44 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20081104/a7967a57/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo2.py
Type: application/octet-stream
Size: 59 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20081104/a7967a57/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: application/octet-stream
Size: 161 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20081104/a7967a57/attachment-0002.obj 


More information about the pld-devel-en mailing list