1.如果不要用户名和密码可以这样设置:

c:\program files\apache group\apache2\conf\httpd.conf中的配置文件:

<Location /svn>
DAV svn
SVNListParentPath on
SVNParentPath D:\SVN
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile passwd
#AuthzSVNAccessFile svnaccessfile
Require valid-user
</Location>
改为:
<Location /svn>
DAV svn
SVNListParentPath on
SVNParentPath D:\SVN

</Location>
2.创建版本库的步骤:
1.在D:/SVN下建立一个文件夹命名为:WebTemplates(这个就是以后检出的文件夹名称)

2.选中刚建立的文件夹,将其设置为版本库:TortoiseSVN->Create repository here
3.选中你要上传到svn的文件夹,点击TortoiseSVN->Import:

URL填写为http://localhost:8088/svn/WebTemplates/(其中8088为apache监听的端口号)
点击确定则创建了工程的第一个版本
4.在任意文件夹都可以在以上地址检出工程版本。
5.远程计算机检出版本时url地址应这样填写:
http://59.64.159.119:8088/svn/WebTemplates
注意要带上端口好。

posted on 2011-05-11 14:46  tftknight  阅读(227)  评论(1编辑  收藏  举报