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

Re: Does commit wait for post-commit hook to execute?

From: Andreas Schweigstill <andreas_at_schweigstill.de>
Date: 2007-02-07 08:21:59 CET

Hello!

Andy Levy schrieb:
> svn commit "finishes" when the post-commit hook completes finishes
> executing. If your post-commit is lengthy and you need quicker
> response, have post-commit spawn a new process to actually do that
> work, letting post-commit return. Doing this in any hook script means
> you'll lose the ability to send feedback to the user regarding that
> spawned process.

And probably some kind of semaphore or lock has to be used if it is
important that there is only one spawned script running at the same
time.

Does Subversion assure that the same script won't be executed multiple
at the same time when there are concurrent check-ins?

With best regards
Andreas Schweigstill

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstrae 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 7 08:22:23 2007

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.