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

Commit Hooks Asynchronous?

From: Cory Finger <finger.c_at_husky.neu.edu>
Date: Fri, 3 Feb 2012 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?
Received on 2012-02-03 23:54:52 CET

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