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

Re: hook script blocks server

From: Ian Schneider <Ian.Schneider_at_ars.usda.gov>
Date: 2004-06-21 21:40:01 CEST

On Monday 21 June 2004 10:47 am, kfogel@collab.net wrote:
> Dirk Hoffmann <dh.discuss@web.de> writes:
> > Hi,
> >
> > I'm working with subversion-1.0.4 on Linux and encountered the
> > phenomenon that when a hook script sends too much output to standard
> > error the http-server blocks.
>
> Ooooh.
>
> What is the user-visible symptom when the server blocks like that?

From the command line it looks like this:

#svn commit -m "" test.class
Sending test.class
Transmitting file data .

Yep, it never returns....

Inside apache logs you find this pleasantness:

[Mon Jun 21 13:24:48 2004] [error] [client 127.0.0.1] Could not MERGE resource
"/svn/!svn/act/e897b0db-63dd-0310-a641-d242098fd8a7" into "/svn". [409, #0]
[Mon Jun 21 13:24:48 2004] [error] [client 127.0.0.1] An error occurred while
committing the transaction. [409, #165001]
[Mon Jun 21 13:24:48 2004] [error] [client 127.0.0.1] (84)Invalid or
incomplete multibyte or wide character: 'pre-commit' hook failed with error
output:
\n\n--------------------------------------------------------------------------------\nThe
following files are not allowed in subversion:
\ntest.class\n\n--------------------------------------------------------------------------------\nTo
complete your commit, remove the files from the repository.\nTo prevent
future additions of these types of files, please update your\nsubversion
config file with the appropriate ignores as provided in
http://blah/blah\n\n\n--------------------------------------------------------------------------------\n
[409, #165001]
[Mon Jun 21 13:24:49 2004] [error] [client 127.0.0.1] Could not
DELETE /svn/!svn/act/e897b0db-63dd-0310-a641-d242098fd8a7. [500, #0]
[Mon Jun 21 13:24:49 2004] [error] [client 127.0.0.1] could not open
transaction. [500, #160007]
[Mon Jun 21 13:24:49 2004] [error] [client 127.0.0.1] (2)No such file or
directory: No transaction named '1d' in filesystem
'/usr/local/svn/test/db' [500, #160007]

This coming from my pre-commit 'check-banned' script which I added a bit of
extra output to.

Ouch indeed.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 21 21:41:52 2004

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.