As an aside, it should be noted that Snow Leopard (at least) comes with an SVN server bundled by default. I believe that Leopard did as well. Either way, you're far better off just using it instead of rolling your own solution.
Apple's instructions: http://developer.apple.com/library/mac/#featuredarticles/SubversionXcode3/
A slightly more complicated integration:
http://ursecta.com/wp/2009/11/subversion-server-on-snow-leopard-server/