SVNwindow下设置提交备注必填(亲测)
参考教程:http://bbs.vsharing.com/Management/PLM/1283314-1.html
@echo off
setlocal
set REPOS=%1
set TXN=%2
rem check that logmessage contains at least 10_characters
"C:\Program Files\TortoiseSVN\bin\svnlook" log "%REPOS%" -t "%TXN%" | findstr ".." > nul
if %errorlevel% gtr 0 goto err
exit 0
:err
echo You need to input at least 2 characters. Please resubmit after modification! 1>&2
exit 1
亲测效果: