Create a patch using TortoiseSVN

I found the answer myself. I wasn’t creating the patch correctly. You have to use the “Create patch…” option in TortoiseSVN on the root folder, not the patched file itself.

How to apply a patch?

You can download the diff file from the bottom of the diff page. The program to apply a diff is called “patch”. It’s widely available for various platforms. Example usages: http://en.wikipedia.org/wiki/Patch_(Unix)#Usage_examples

How to make and apply SVN patch?

By default, patch ignores the directory portion of the target filename; it’s just looking for “httpd.conf” in your current working directory. If you want it to use the full path, you have to explicitly ask it to do so with the -p option: patch -p 0 < httpd.patch The number after -p is how many levels to remove from the filename … Read more