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

Re: Are post-commit hooks atomic?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-19 19:10:01 CEST

Stefan Haller wrote:
> Ben Collins-Sussman <sussman@collab.net> wrote:
>
>> So running a 2nd 'svn up' will just error out as soon as it hits the
>> other process' lockfile.
>
> But then it's not guaranteed that the checked-out live copy is always up
> to date, is it? (If the last post-commit hook errors out because the
> previous one is still running.)

True.

Sounds like you need to have your post-commit wait for and acquire a lock
whilst it is running.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 19 19:10:46 2004

This is an archived mail posted to the Subversion Users mailing list.