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

Re: svn commit: r14031 - trunk/subversion/clients/cmdline

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-04-09 15:52:27 CEST

Norbert Unterberg <nepo@gmx.net> writes:

> Peter N. Lundblad schrieb:
>
>>> svn:needs-lock - If present, the file must be locked when it is
>>> committed.
>> Not true. svn:needs-lock is a client-side thing. It communicates to
>> your
>> fellow collegues that this file must be locked. The repository doesn't
>> care.
>
> Quote from
> http://svn.collab.net/repos/svn/trunk/notes/locking/locking-ui.txt
>
> II. New Client Behaviors
> B. The "svn:needs-lock" property
> 1. Property as enforcement system
> The presence of the "svn:needs-lock" property on a file means
> that concurrency is disabled for the file and a user *must*
> obtain a lock on that file before committing changes to it.
> The server rejects any commit which modifies this file unless
> the user has a lock on the file. [...]
>
> So who is correct?

Ha! Well that explains why I thought it was mandatory rather than
advisory. I was wondering where I got that idea :)

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 9 15:53:14 2005

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.