CVSROOT: cvswrappers - treat patches as binary files

Patryk Zawadzki patrys at pld-linux.org
Mon Nov 3 22:13:29 CET 2008


On Mon, Nov 3, 2008 at 6:13 PM, Tomasz Pala <gotar at polanet.pl> wrote:
> On Mon, Nov 03, 2008 at 14:10:07 +0100, Patryk Zawadzki wrote:
>>> Maybe it's better idea to add -l (--ignore-whitespace) to %__patch?
>> Especially for Python ;)
> man patch
>
> it's for _matching_ only, not patching itself.

Now in real life imagine this:

if foo:
    if bar:
        asd()
        fgh()

gets changed to:

if foo:
    if bar:
        if asd():
            fgh()

Now imagine fgh is at least 7 lines long. Now imagine: been there,
done that. It breaks Python.

-- 
Patryk Zawadzki


More information about the pld-devel-en mailing list