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