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

Re: pre-commit hooks does not show any output

From: Claudio Ochoa <claudio_at_fi.upm.es>
Date: 2005-10-27 15:23:42 CEST

Mathias Weinert wrote:
> Hmmmm.
> Perhaps you haven't installed svnlook in /usr/local/bin as
> the example hook script assumes (but then you should also
> get problems with running the perl script manually).
>
> You could also try to run the hook script manually and look what
> it will tell you.

Damn! forget about my message, there was nothing wrong with the pl
scritp. I used the pre-commit template and I didn't see these lines

# Make sure that the log message contains some text.
SVNLOOK=/usr/bin/svnlook
$SVNLOOK log -t "$TXN" "$REPOS" | \
    grep "[a-zA-Z0-9]" > /dev/null || exit 1

and of course, my commit was with an empty message, so never reached the
access control.

Sorry about that!

Thanks anyway for your help!

Claudio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 27 15:34:24 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.