[wp-testers] RE: How to create a .diff to attach to a ticket (was: WordPress 2.0.6 Beta 1)

Lloyd D Budd lloydomattic at gmail.com
Fri Dec 8 21:41:12 GMT 2006


On 12/8/06, Austin Matzko <if.website at gmail.com> wrote:
> On 12/8/06, Brian Layman <Brian at thecodecave.com> wrote:
> > Since you're using Tortoise, here's the simplest how-to you'll ever
> > find. Ever.
>
> Too bad you're not using *nix; then you'd really have the simplest how-to:  :-)
>
> 1. svn diff editedfile.php > editedfile.diff

Yup, it is as easy as that as Mark Jaquith's post suggests
http://markjaquith.wordpress.com/2005/11/02/my-wordpress-toolbox/

And Arron's instructions fits well westi's post for Windows
http://blog.ftwr.co.uk/archives/2005/11/03/windows-wordpress-toolbox/

When actually attaching patches, it is helpful to others if you
generate your patch from the projects root directory, as Aaron's
Tortoise example did. So keep a clean copy of the tree if you are
working on multiple things or have your own personal customizations --
this is always a good idea anyway so you have test your patch in
isolation before uploading.

$svn diff > fix-problem.diff


More information about the wp-testers mailing list