Creating a post-commit hook for Subversion

I am doing some work with Subversion now so I got a chance to play with some hook functionality. Unfortunately, 99.99993% of all information out there for Subversion seems to be directed towards Linux, but after an appropriate amount of head-banging I got it working. Our dev server has Subversion installed with a repository holding our code. Each developer has installed TortoiseSVN (which is a Windows GUI client for the server) and checked out the code for local development. Then, on the server we also checked out the trunk folder into our wwwroot for IIS. The problem was, ever time we committed code from our local machine and wanted to run it on the dev server, we needed to remote into the server to update the code checked out to the wwwroot folder.

[More]

Comments
Dan G. Switzer, II's Gravatar @Brad:

I went through the same pains you're going through when I first started writing SVN hooks for Windows. Fortunately, I found a few really good debugging tips that should save you a bunch of time:

http://blog.pengoworks.com/index.cfm/2008/2/5/Debu...

You already figured out #1, but I think you'll find tip #3 invaluable. By saving the output log of my SVNs, it now takes me no time to figure out where my script is failing. This was the biggest obstacle I kept running into. Before I started using this technique, I never knew why the scripts weren't working correctly.
# Posted By Dan G. Switzer, II | 9/16/08 12:53 AM
Brad Wood's Gravatar Awesome, Dan. That was just was I was looking for last night. Thanks.
# Posted By Brad Wood | 9/16/08 1:00 AM
BlogCFC (5.9.004) by Ray Camden. Blog Owner: Brad Wood