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

Hooks

From: dj <dj_at_shadyvale.net>
Date: 2003-08-21 07:12:55 CEST

While trying to fix the hook's stderr messiness on Windows, it appears
to me that on RH9 Linux, at least, hook output is not being sent back to
the client on failures. This is using ra_local and ra_svn, haven't
tried ra_dav. With my updated patch incorporating Brane's comments,
Windows is now working fine...but RH9 doesn't work before or after my
changes.

Can someone test and confirm?

[dj@mercury dj2]$ svn commit -m "test"
Sending file
Transmitting file data .svn: A repository hook failed.
svn: Commit failed (details follow):
svn: 'pre-commit' hook failed with error output:
 

The pre-commit hook looks like:

-rwxrwxrwx 1 dj dj 50 Aug 20 22:52 pre-commit

with contents:

[dj@mercury hooks]$ cat pre-commit
echo hello stdout.
echo hello stderr. 1>&2
exit 1

I'm not a Linux expert so perhaps someone can tell me what I've got
messed up?

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 21 07:13:47 2003

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

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