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

Re: Locking design (was Re: svn commit: r9885 - trunk/notes)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-05-27 02:47:25 CEST

C. Michael Pilato wrote:

You do the loud part pretty well, yes. :-)

>But then again ... implementing depth-infinity directory locks means
>that to implement "lock dir; unlock dir/subdir", we'll either need
>some way to indicate lock exceptions (a negation token of sorts) or
>we'll end up exploding the locks into per-resource locks table rows
>anyway, in which case directory locking is again useless.
Oh no, no exceptions. If you lock a directory, you implicitly lock all
the files, yes, but that doesn't mean you can make an exception. No, you
have to unlock the directory itself. That's SOP.

Funny thing, that in the WebDAV locking spec, too. :-)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 27 02:49:36 2004

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.