1) svnadmin create /home/dev/work/repository
2)修改 repository/conf 下配置文件
passwd 文件:
[users]
dev = dev
svnserve.conf 文件:
[general]
anon-access = read
auth-access = write
password-db = passwd
3)启动服务
svnserve -d -r /home/dev/work/repository
4)导入工作拷贝
import . svn://localhost/mytest --username=dev --password=dev -m"Init mytest directory"
5) 后续工作
svn checkout svn://localhost/mytest
svn add
svn commit -m""
svn ls svn://localhost
没有评论:
发表评论