sc create SVNService binpath= "D:\subversion\bin\svnserve.exe --service -r D:\svnroot" displayname= "SVNService" depend= Tcpip
切记:=号前无空格,=号有空格.
==========================
配置authz:
[groups]
admin=linghuye
[/]
@admin=rw
==========================
配置svnserve:
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
==========================
Global ignore pattern:
*.obj *.pch *.pdb *.ilk *.exp *.trg *.tmp *.plg *.bsc *.sbr *.aps *.ncb *.7z */Objs *\Objs */Debug */Debug
==========================
允许修改版本的Log:
在版本库hooks目录下建立pre-revprop-change.bat文件,内容:
@exit 0
==========================
忽略本地版本目录中的其他文件和目录
目录property设置如: svn:ignore Objs