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

Hook Files Question

From: Jake Stone <jake.the.stone_at_gmail.com>
Date: Sat, 15 Aug 2009 22:36:40 -0500

Hello!

I am running Subversion via Apache on Windows, and am writing a few
batch script hooks, to do simple things like enforce a non-empty log
message. To do some of these tasks, I create (and overwrite) small text
files in the hooks directory, such as "email.txt" or similar.

I'm wondering about what might happen if while Person A is making Commit
A, another Person B will try to start Commit B. Since Subversion is
atomic, I do not have to worry about any commit B starting before commit
A is done, correct? In other words, these batch file hooks cannot step
on each other using common file names, because each commit finishes
before the next begins, correct?

Thanks for the help!
Jake Stone

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2383973

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-16 06:51:08 CEST

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.