svn server限制提交使用hook , 参考

估计通过这样的hook手段来限制提交权限

参考这样的

https://www.visualsvn.com/support/svnbook/ref/reposhooks/start-commit/

还有jenkinsjob:

引用

@echooff

SETLOCALENABLEDELAYEDEXPANSION

setFilePath="E:\Repositories\%SVN_Repository%\hooks\accountlist.txt"

echo"addingthecommitpermissionof%SVN_Repository%for%LAN_ID%..."

echo.>>%FilePath%&

echo%LAN_ID%>>%FilePath%&

echo"done."

exit

还有windows7下使用command来postcommithooks解决问题的手法:

引用

http://stackoverflow.com/questions/8964573/how-to-setup-visualsvn-post-commit-hooks-in-win7-64bit

相关推荐