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

Re: Locking whole directories

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 15 Jan 2014 18:52:30 +0100

On 15.01.2014 18:39, Ben Reser wrote:
> On 1/13/14, 7:02 PM, Kyle Sluder wrote:
>> I understand that implementing this would require all commits to search
>> for lock properties on every ancestor of every changed file or
>> directory. It essentially amounts to an extension of inheritable
>> properties to the RA layer. Which would be pretty neat, IMO. :)
> Well not really. Locks aren't a property so none of the inheritable properties
> work helps here. Inheritable properties also already have RA support (which is
> a big reason to prefer a 1.8 server to be used with a 1.8 client since the RA
> support is much more efficient than walking the tree).
>
> DAV already has support for recursive locks (including locks) on directories.
> So we'd shouldn't need any new protocol changes for DAV. Presumably we can
> come up with something efficient for svnserve.
>
>> Shall I file a feature request?
> Surprised we don't already have a feature request for directory locks already.
> So please do so.
>
> Understand that filing an issue doesn't mean it's going to be immediately
> worked on.

There's probably a good reason why we didn't implement directory locks
when the locking feature was developed. In any case it's not a trivial
feature.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-01-15 18:53:06 CET

This is an archived mail posted to the Subversion Users mailing list.