Re: Make developers write messages when commiting
From: Pieter <pietercoucke_at_hotmail.com>
Date: 2006-10-06 09:32:43 CEST
and a Windows-one:
pre-commit.bat:
@echo off
setlocal
set REPOS=%1
set TXN=%2
rem check for an empty log message
svnlook log "%REPOS%" -t "%TXN%" | findstr "...................." > nul
if %errorlevel% gtr 0 goto err
exit 0
:err
echo You must provide a log message of at least 20 characters. 1>&2
exit 1
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.