SmartSVN
- https://www.smartsvn.com/downloads/smartsvn/smartsvn-windows-portable-14_0_0.zip
- https://www.smartsvn.com/downloads/smartsvn/smartsvn-macosx-14_0_0.dmg
- https://www.smartsvn.com/downloads/smartsvn/smartsvn-linux-14_0_0.tar.gz
创建版本库
使用命令行工具创建版本库
1
2$ mkdir SVNRepository
$ svnadmin create --fs-type fsfs SVNRepository修改 ${SVNRepository}\conf\svnserve.conf 配置文件
1
2# password-db = passwd
password-db = passwd修改 ${SVNRepository}\conf\passwd 配置文件
1
2
3
4[users]
# harry = harryssecret
# sally = sallyssecret
admin = admin执行以下命令启动subversion
1
$ svnserve -d -r SVNRepository
在${SVNRepository}目录下创建trunk/branches/tags三个目录并Import到版本库(如 D:\SVNRepository)中
1
2
3
4
5
6
7$ cd SVNRepository
$ mkdir trunk
$ svn import -m "New import" trunk file:///D:/SVNRepository/trunk
$ mkdir branches
$ svn import -m "New import" branches file:///D:/SVNRepository/branches
$ mkdir tags
$ svn import -m "New import" tags file:///D:/SVNRepository/tags