[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 09:43:16 CEST

Justin Erenkrantz wrote:
> ...
> I think you are restricting yourself to only Subversion as a client.
> I'm purposely thinking of Adobe Photoshop with its integrated
> WebDAV-aware client which supports locking. Photoshop will issue a LOCK
> on a resource, but it has no concept of a 'youngest' revision. You
> couldn't even tell it that. However, this is also why most WebDAV
> clients issue a LOCK then issue a GET. This ensures that they get the
> 'youngest' revision of the resource after they acquired the lock. --
> justin

I'd call a client that requires a LOCK before GET a poor implementation
(if it only wants to read the file). A LOCK doesn't guarantee you the
"youngest" revision any more than GET. All it guarantees is that nobody
changes the resource between the LOCK and the GET (so you win exactly
nothing compared to doing the GET right away).

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 09:44:05 2004

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