参考 这样的
https://www.visualsvn.com/support/svnbook/ref/reposhooks/start-commit/
还有jenkins job:
引用
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
set FilePath="E:\Repositories\%SVN_Repository%\hooks\accountlist.txt"
echo "adding the commit permission of %SVN_Repository% for %LAN_ID%..."
echo.>>%FilePath% &
echo %LAN_ID%>>%FilePath% &
echo "done."
exit
还有 windows7 下 使用 command 来post commit hooks解决问题的手法:
引用
http://stackoverflow.com/questions/8964573/how-to-setup-visualsvn-post-commit-hooks-in-win7-64bit