09@echo off
set svnlook="E:\Program Files (x86)\VisualSVN Server\bin\svnlook.exe"
setlocal
set REPOS=%1
set TXN=%2
rem check that logmessage contains at least 10 characters
%svnlook% log "%REPOS%" -t "%TXN%" | findstr ".........." > nul
if %errorlevel% gtr 0 goto err
exit 0
:err
echo 提交被阻止,请填写关于此次提交的log信息(需大于10个字符[5个汉字]),然后再重新提交! 1>&2
exit 1