http://wiki.archlinux.org/index.php/Subversion_Setup
参照这篇wiki设置了下subversion。上传的时候报错 svn: Can’t open file ‘/home/svn/repositories/python/db/txn-current-lock’: Permission denied
最后发现是因为没有把apache httpd和http这个用户关联起来,在/etc/httpd/conf/httpd.conf中把User和Group都改成http即可。