@ECHO OFF set repos=%1set rev=%2set user=%3set propname=%4set action=%5:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Only allow changes to svn:log. The author, date and other revision:: properties cannot be changed::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::if /I not '%propname%'=='svn:log' goto ERROR_PROPNAME:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Only allow modifications to svn:log (no addition/overwrite or deletion)::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::if /I not '%action%'=='M' goto ERROR_ACTION:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Make sure that the new svn:log message contains some text.:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: set bIsEmpty=truefor /f "tokens=*" %%g in ('find /V ""') do ( set bIsEmpty=false) if '%bIsEmpty%'=='true' goto ERROR_EMPTYgoto :eof:ERROR_EMPTYecho Empty svn:log properties are not allowed. >&2goto ERROR_EXIT:ERROR_PROPNAMEecho Only changes to svn:log revision properties are allowed. >&2goto ERROR_EXIT:ERROR_ACTIONecho Only modifications to svn:log revision properties are allowed. >&2goto ERROR_EXIT:ERROR_EXITexit 1