It seems the trac website is a bit broken at the moment – would submit a bug report but I just seem to be going round in a loop.
Tag: trac
my new favourite one liner
Well last weeks bug hunt went well by all accounts we managed to convince Ryan to make 30 commits and about 100 tickets were closed. During the process of testing all these patches I found a new favourite one-liner for working with trac and patches:
svn revert -R * && curl "trac-patch-raw-fileurl" | patch -p0
This enables you to download a patch direct from the trac web interface and apply it against your local svn checkout ensuring to revert any other local changes first. For example using this with the patch attached to ticket 3110:
svn revert -R * && curl "http://trac.wordpress.org/attachment/ticket/3110/3110.diff?format=raw" | patch -p0