Quoth Bruce Webber <mailto:brucewebber@fastmail.us>:
>> This is true, but if no one else has acquired a lock, there is
>> nothing that prevents me from making the file writable and then
>> committing it. The locking isn't strongly enforced by the system in
>> a way that prevents me from editing the file unless I lock it. The
>> problem arise when I start to edit the file without locking it, and
>> then someone else locks the file before I commit.
>
> I agree. Subversion's locking mechanism is driven from the client
> rather than the server, which allows for the problem you describe.
The precommit hook script is probably the way to go then. I'm sure
you'll be able to get svnlook to tell you whether a user has locked a
file or not.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 20 00:01:56 2005