@echo off :: Stops commits that have empty log messages. @echo off setlocal rem Subversion sends through the path to the repository and transaction id set REPOS=%1 set TXN=%2 svnlook log %REPOS% -t %TXN% | findstr . > nul if %errorlevel% gtr 0 (goto…
windows下的必须要用.bat文件,pre-commit.bat ================================================== @echo off set SVN_BINDIR=d:/Apps/Subversion/binsetlocal set REPOS=%1 set TXN=%2 REM echo %REPOS% >&2REM echo %TXN% >&2 svnlook.exe log %REPOS% -t %TXN% | f…