转载地址:http://blog.csdn.net/patdz/article/details/7669591
1. 创建文件夹
E:STWSourceSTWLibrarySVN
2.在文件夹STWLibrarySVN上右键TortoiseSVN->Create epository here
3.创建文件夹
E:STWSourceSTWLibrary
4.创建批处理文件E:STWSourcesvn-server.bat
- @echo off
- cd C:Program FilesTortoiseSVNin
- c:
- set SVNPath=E:STWSourceSTWLibrarySVN
- TITLE %SVNPath%
- @echo on
- svnserve.exe --daemon --root %SVNPath%
5.双击运行svn-server.bat文件,SVN服务器正常启动
6.客户端添加文件,提交,发生错误authorization failed
解决方法
1)E:STWSourceSTWLibrarySVNconfauthz添加
- * = rw
2)修改E:STWSourceSTWLibrarySVNconfsvnserve.conf
找到行:
- # password-db = passwd
修改为
- password-db = passwd
3)修改E:STWSourceSTWLibrarySVNconfpasswd
[Users]下面添加行
- patdz = patdzsecret