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

Re: svn commit bug?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-06-03 16:32:15 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> On Tue, 2004-06-01 at 19:51, Jeroen Coumans wrote:
> > I have a post-commit script which updates an already checked-copy of a
> > repository (for speed, instead of export or checkout). However,
> > sometimes the script is busy for a long time, and I get the following
> > error after a commit:
> >
> > svn: Commit failed (details follow):
> > svn: MERGE request failed on '/svn/foo/bar'
> > svn: MERGE of '/svn/foo/bar': timed out waiting for server (http://1.2.3.4)
> >
>
> I don't believe that apache waits for the post-commit hook to "return"
> before telling the client that the commit was successful.

Sure it does. Apache has only one chance to report post-commit
failures, and that's in the MERGE response. That's why we tell folks
to have their post-commit hooks background long-lived tasks that
aren't absolutely required to complete successfully.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 3 17:19:08 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.