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

Re: Commit Hooks Asynchronous?

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Mon, 6 Feb 2012 01:37:21 +0200

Cory Finger wrote on Fri, Feb 03, 2012 at 17:42:49 -0500:
> Hello, I was just curious. I am developing a script that involves both a
> pre-commit hook and a post commit hook.
>
> The post-commit hook opens a file, reads a file, and saves a file. I was
> wondering, do I need to set up a lock-file system to ensure that 2 people
> committing at the same time will not cause a problem in the file writing
> process? Or do the commit hooks run asynchronously?

While it's not directly relevant to this thread, the following new
feature (suggested by Trent) may be relevant for you:

http://subversion.apache.org/docs/release-notes/1.8#hooks

Daniel
(hot off the presses --- the buildbots haven't finished with it yet :))
Received on 2012-02-06 00:38:11 CET

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