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

Re: post-commit hook not working

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-12 11:13:30 CEST

On Apr 12, 2006, at 07:12, Andreas Adelsberger | [amp] - Adelsberger
Media Productions wrote:

> to 2: the path stuff is not my problem. the script would produce an
> error if there is something wrong with it, but it simply doesn't
> get executed. is there a way to disable post-commit in subversion
> gernerally?

I agree that the path stuff is not the problem in your case. However,
if the hook has a syntax error or other problem, you will not learn
about it unless you have explicitly programmed some logging into your
script. Any output produced by the post-commit hook, whether it be to
stdout or stderr, is discarded. The exit code of the post-commit hook
is also not used for anything. The only way to discover whether your
post-commit hook script is running is by putting strategically-placed
echo statements like "echo About to do the export... >> /tmp/
hook.log" within the script to see how far you get.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 12 11:14:46 2006

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.