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

Re: Hook Files Question

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Sun, 16 Aug 2009 09:33:13 +0400

Greetings, Jake Stone!

> 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?

Basically, yes. If you need more in-depth explanation, you gonna ask more
specific questions :)

Fake edit:
If you mean that you're modifying your files at the time of hooks execution -
take care.
While Subversion operations is atomic, you COULD still run into situation
where 2 hooks being executed at the same time.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 16.08.2009, <9:30>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2383989
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-16 07:35:54 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.