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

Re: Require comments/messages on commit

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2005-05-07 00:14:53 CEST

On 5/6/05, Gregory Piņero <gregpinero@gmail.com> wrote:
> I'm still stuck on this. I renamed pre-commit.tmpl to pre-commit.bat
> and I replaced the contents with the two lines:
> echo "pre-commit.bat"
> pause
> I just want to see that the batch script is triggered. But when I
> check something in, nothing seems to happen. Any ideas?

You need to echo to stderr and return a non-zero exit value for the
text to be marshalled back to the client. If you just want to test to
see that the hook is executed it would be easier to just echo to a
local file somewhere.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 7 00:17:06 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.