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

Re: svn hook concurrency

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-10-18 00:29:34 CEST

On Oct 17, 2005, at 23:10, Andreas Zitzelsberger wrote:

> does subversion take care of concurrency of hook skripts (especially
> post-commit) / what happens if a new transaction is commited before
> the
> post-commit hook skript of the previous transaction is completed?
>
> Background: I'm currently working on a multi-system web site
> compiling /
> publishing system. I want to use subversions post-commit hook to
> keep a copy
> of the head revision up-to-date and to invoke the compiler.

I don't know the answer to your question, but I can recommend that
you defer updating the working copy and invoking the compiler until
after the post-commit hook has finished running. The Subversion
client will not return control to the user until the post-commit hook
has exited, so you want to keep it as short as possible.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 18 00:31:18 2005

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.