[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: Jesper Steen Møller <jesper_at_selskabet.org>
Date: 2006-04-28 22:47:13 CEST

Edward Harvey wrote:
> Would anybody object to, or favor this idea?
>
> When somebody tries to lock a file that doesn't have needs-lock on it,
> atomically also add the needs-lock property. Conceptually, as far as I
> know by all accounts, it makes no sense to ever lock a file that doesn't
> needslock.
>
This can be done in a hook if somebody needs it, although perhaps not
atomically.
I can easily see cases where this behavior is not desired, 'ad-hoc'
locking of files that are usually never locked, to block inadvertent
commits.

-Jesper

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 28 22:44:20 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.