Re: Question on lock behaviour
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-09 16:04:25 CEST
On Apr 9, 2005, at 4:12 AM, Norbert Unterberg wrote:
> I have some questions regarding locking, I have not found the answeres
Locking is allowed on all files. The needs-lock property is just an
> If locking is optional, will locked files get the read-only attribute
No.
>
Yes.
> If yes, is this some kind of an atomic operation, meaning:
It's not atomic as a group, each attempt to lock a file is a separate
> - same lock comment used for all files?
Yes.
> - repository lock-hook called once with a file list or once per file?
At the moment, yes, but that will probably change in 1.3. The new lock
> - no problem with concurrency when two users try the lock the same
There is absolutely a race. Someone gets the lock first, the other is
>
Yes.
>
No.
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.