Windows下搭建SVN服务器
1.下载subversion
选择svn-win32-1.6.6.zip,我喜欢解压就能用的版本
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=11151&expandFolder=11151&folderID=91
2.设置环境变量
解压svn-win32-1.6.6.zip,如D:\svn\svn-win32-1.6.6,设置SVN_HOME,加入PATH,%SVN_HOME%\bin,添加SVN_EDITOR变量为notepad.exe
3.创建仓库
先创建一个目录如:D:\svn\svn_repository,使用命令添加该仓库:
svnadmin create D:\svn\svn_repository
auth-access = writepassword-db = passwd
anon-access = read
username = password
svnserve --daemon --root D:\svn\svn_repository
svn import svn://localhost/test