apt-cache search subversion|grep subversion
apt-get install subversion
svnserve -version
svnadmin create project
mkdir project/branch
mkdir project/stable
svn import project file:///$PWD/project -m "initial import"
svn checkout file:///$PWD/project/branch project
vim authz
vim passwd
svnserve.conf
组权限,[/branch],路径是相对当前仓库根路径
仓库根路径设置
1 在 /path/svn下新建svn仓库 project
2 svnserve -d -r /path/svn启动的时候指定仓库根路径
3 svn checkout svn://ip/project