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

Re: Lock/Unlock display after update/refresh from database Feature Request.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 25 Sep 2008 09:29:55 +0200

Dylan Reynolds wrote:
> This feature request somewhat refers to the feature request you give
> good reasons against at http://tortoisesvn.net/node/163
> This request mentions something like this:
>
> "There is no way to tell if a file has been locked by someone else, so I
> need a new overlay to show that."
>
> I assume you remember your own reasons why this request could not be
> implemented.
>
> I wanted to make a point here.
>
> Given that it is not possible to continually contact the repository to
> get info about if a file is locked, would it not be possible to
> communicate this information when you update your checked out directory
> (or through some other refresh means). Hence, once you have an up to
> date directory you are able to see if someone has locked the files
> within this directory. This would mean that if you used locks you would

How many times do you update your working copy?
If we would do that, then the information 'file locked' would be out of
date pretty soon. Worse, the information would be inaccurate and most of
the time wrong, because you wouldn't see new locks since you've udpated.

And showing inaccurate information is the worst, it's worse than showing
no information at all.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-09-25 09:30:30 CEST

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