how to add patch

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Oct 13 23:29:53 EDT 2010


In message <m2eibtd7aw.fsf at web.de>, Diez B. Roggisch wrote:

> My first attempt would be
> 
>   cd my_project
>   patch -p0 < the.patch
> 
> But it might not work, depending on how the patch was created.

If the OP can post some initial part of the patch (probably the first dozen 
lines should be ample), we can get a better idea of how to proceed.

Most patches follow the format of output from diff -u or diff -c; I think 
the former is slightly more common.



More information about the Python-list mailing list