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 :))

Reply via email to