[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Oct 6 09:33:35 2006

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.