[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: Dylan Reynolds <dylan.reynolds_at_entecho.com.au>
Date: Thu, 25 Sep 2008 15:56:39 +0800
I am not pretending to have the perfect solution.  Kdesvn manages to display the lock owner and the lock reason -perhaps the method it implements is flawed because the information may become outdated as you say.  Or perhaps it uses some other method which avoids this somehow.  I just think that if it is possible to accurately see if files are locked in the windows explorer, without needing to use Check for Modifications and look at the repository, then it would improve locking functionality a lot.

Maybe the refresh option I gave in the original request is better - if it can be acheived. I wrote:
Perhaps it wouldn't even require an update but kind of like the "Check for modifications tab" some kind of one click refresh could update the locks in your directory without needing to look at lists in the "Check for modifications tab".

This way it is basically the same as  "Check for modifications" (where you would look if you wanted to see if a file was locked or not), but rather than having to go into this and then use the option to view the repository you could use a single click - and this would update the icon overlays in your checked out directory so you could easily see what files are locked.

Stefan Küng wrote:
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

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.



--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org For additional commands, e-mail: users-help@tortoisesvn.tigris.org Received on 2008-09-25 09:57:03 CEST

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