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.

error code: 523