[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: Michael Sinz <Michael.Sinz_at_sinz.org>
Date: 2006-04-30 20:13:23 CEST

Edward Harvey wrote:
>>> In particular, the file should become read-only, and in the gui,
>>> change the icon to gray.
>> Here is where things get difficult - how do you expect this to happen?
>
> What I'm hoping for is for subversion to cache the most recently known
> lock status in the entries file. The only reason the info can't be
> shown today is because in order to get the information, you have to
> contact the repository, and it's not reasonable to contact the
> repository every time you do a file listing.
>
> Of course the data in the cache would only be as accurate as the most
> recent update, but I think that's understandable and expected. Everyone
> accepts the fact that subversion is a pull, not push, mechanism. And
> everyone encourages the habit of regular updates (or at least status
> checks). To reduce the chance of wasting time by working on something
> that has already been outdated.

Ahh, but the question then becomes - how is it helpful when a file shows
as unlocked in my local cache and does not say that it needs a lock?

-- 
Michael Sinz                     Technology and Engineering Director/Consultant
"Starting Startups"                                mailto:michael.sinz@sinz.org
My place on the web                            http://www.sinz.org/Michael.Sinz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 30 20:14:13 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.