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

RE: Atomicity of locks and needs-lock

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2006-04-29 23:30:09 CEST

On Sat, 2006-04-29 at 17:18 -0400, Edward Harvey wrote:
> I am asking here, if there is any reason against local storing the
> remote lock information.

Because we can't keep it up to date reliably. It would be a faulty
cache.

Also, because we don't necessarily agree that you shouldn't be able to
edit a file someone has locked. (You shouldn't be able to *commit* your
edit, but that's a separate matter.) The svn:needs-lock property, which
is intended to be set manually, is intended to cover the case of files
which shouldn't be edited when someone else might have the lock.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 29 23:31:21 2006

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.