Moving files a level up
Move to the folder you want the files to eventually reside in, the example works…
You need to set this up on the server which hosts the SVN repository. Enter the repository and you should see a folder labelled hooks, create a new file labelled pre-commit without any extension and paste the following code inside
Note: I did not come up with this solution, I will update the source as soon as I can find it again.