SVN 配置

1.创建svn库:


E:\SvnRepository\svn> svnadmin create E:\SvnRepository\svn

2.注册svn服务:


create svn binpath= "D:\ProgramFiles\DelevlopProgramFiles\subversion\bin\svnserve.exe --service -r E:\SvnRepository" start= auto depend= Tcpip

3.创建用户,找到 [users],用户名,密码键值对的方式:


lgf=123456
tom=123456

4.服务器验证配置:


anon-access = none  #匿名访问
auth-access = write #验证访问

5.用户权限配置:


 1)分组


    [groups]
    read_and_write = lgf,tom
    read = test
 2)使用分组:


    @read = r #只读操作(read)
    @read_and_write = rw  #读写操作(read write)

svn

相关推荐