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

Re: Locking UI comments

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2004-10-14 19:25:12 CEST

Justin Erenkrantz wrote:
> --On Wednesday, October 13, 2004 2:07 PM -0700 Justin Erenkrantz
> <justin@erenkrantz.com> wrote:
>
>> shouldn't (and is permitted by DeltaV), but I'm not 100% sure. I'm
>> going to
>> ask some of the WebDAV folks around the office though... -- justin
>
>
> Okay, some more replying to myself. ;-)
>
> I talked to some WebDAV-savvy folks around the office and here's what
> they said:
>
> 1) Locks shouldn't touch the repository number. It's indeed metadata,
> but it doesn't invoke a MERGE which is what we'd use to alter the
> repository revision.
>
> 2) Warnings about goofy WebDAV clients that do LOCK. The ones in Adobe
> are fairly good. However, the WebDAV client in Word/Office has goofy
> LOCK semantics. Apparently, it asks for a LOCK with a two minute
> timeout period. At the *end* of two minutes (i.e. after the lock should
> have expired), it'll refresh the lock. There were some mod_dav fixes
> inserted to give an implicit grace period to time-sensitive locks.
>
> This conversation reminded me that I haven't seen any discussion of
> locks for Subversion that have a timeout, while WebDAV does have locks
> that timeout. So, I wonder if we need to add that functionality or not
> as some WebDAV clients will expect that behavior. -- justin

OK, I just checked with Office 2003; it attempts a LOCK with 180s
timeout; if the request suceeds but the timeout sent back by the server
isn't what it expects, it gives up and opens the document read-only.
Furthermore, it doesn't UNLOCK the document when it's closed. (Yes, that
is a bug in Office; clients MUST NOT rely on servers supporting specific
timeout values, see
<http://greenbytes.de/tech/webdav/rfc2518.html#HEADER_Timeout>).

So it seems that adding locking functionality without timeout support
will not help for the MS-Office use case.

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 14 19:25:33 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.