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

Re: Spuriously failing hook scripts

From: Franz Sirl <Franz.Sirl-kernel_at_lauterbach.com>
Date: 2006-09-15 15:45:38 CEST

At 20:04 13.09.2006, Malcolm Rowe wrote:
>Franz, could you let us know what version of APR you're using, and
>what your hook script does?

Ok, did some testing with your patch + some more output applied on
1.3.x-svn. It seems I can fairly quickly reproduce it now with a
nearly empty demo repository.

These are the error_log entries corresponding to the strace:

[Fri Sep 15 15:21:27 2006] [error] [client 10.0.0.21] Could not MERGE
resource "/svn/fsirl/!svn/act/12c1d5e6-7d1d-0410-a7df-0b0fcda0edb5"
into "/svn/f
sirl". [409, #0]
[Fri Sep 15 15:21:27 2006] [error] [client 10.0.0.21] An error
occurred while committing the transaction. [409, #10]
[Fri Sep 15 15:21:27 2006] [error] [client 10.0.0.21] Error waiting
for pid/process [18458]/'/home/svn/repos/fsirl/hooks/pre-commit': No
child process
es [409, #10]

[Fri Sep 15 15:21:40 2006] [error] [client 10.0.0.21] Could not MERGE
resource "/svn/fsirl/!svn/act/a2fa92e7-7d1d-0410-8b12-f752e397ab34"
into "/svn/f
sirl". [409, #0]
[Fri Sep 15 15:21:40 2006] [error] [client 10.0.0.21] An error
occurred while committing the transaction. [409, #10]
[Fri Sep 15 15:21:40 2006] [error] [client 10.0.0.21] Error waiting
for pid/process [18463]/'/home/svn/repos/fsirl/hooks/pre-commit': No
child process
es [409, #10]

These are the commands that triggered these:

- this one should succeed, it has a log message
[fsirl@fs2:~/a/fsirl.repo]$ svn commit -m "murx 10"
Sending test.txt
Transmitting file data .svn: Commit failed (details follow):
svn: MERGE request failed on '/svn/fsirl'
svn: Error waiting for pid/process
[18458]/'/home/svn/repos/fsirl/hooks/pre-commit': No child processes

- this one should fail, it has no log message
[fsirl@fs2:~/a/fsirl.repo]$ svn commit -m ""
Sending test.txt
Transmitting file data .svn: Commit failed (details follow):
svn: MERGE request failed on '/svn/fsirl'
svn: Error waiting for pid/process
[18463]/'/home/svn/repos/fsirl/hooks/pre-commit': No child processes

I've attached the exact patch I used and the complete strace of the
session above. With the logging of the PID I added, everything should
be easy to correlate.

If you need more, please let me know.

Franz.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Sep 15 15:47:04 2006

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.