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

Re: [TSVN] TortoiseMerge request

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-07-11 15:06:33 CEST

Lübbe Onken wrote:
> Simon Large wrote:
>
>> Lübbe Onken wrote:
>>
>>> BTW. I rewrote the section on the read-only overlay icon, because it
>>> wasn't mentioned that this icon reflects the read-only status and not
>>> the needs-lock property.
>>>
>>> Comments please:
>>> ---SNIP---
>>> If the <literal>svn:needs-lock</literal> property is set on a file,
>>> Subversion makes that file read-only until you get a lock on that
>>> file. Be aware that TortoiseSVN uses only the read-only status of
>>> versioned files to deduce that it has to display the read-only
>>> overlay icon. It does not contact the server. Versioned files may
>>> become read-only for other reasons (IDEs, directory permissions) as
>>> well. Read-only files have this overlay to indicate that you may have
>>> to get a lock first before you can edit that file.
>>> ---SNIP---
>>
>> It doesn't need to contact the server.
>
> I know that it doesn't. I only want to state this explicitely. What are
> you trying to tell me?

We never contact the server for any overlay status. Why did you want to
make that explicit for this one?

>> What is important is that it doesn't check the svn:needs-lock property
>> in the WC. It *could* do that, but it would slow down explorer horribly.
>
>
> I could explicitely state that TSVN ignores the needs-lock property
> because of the slow down.

I think it is important to explain that it is _only_ showing the
read-only status. That _may_ indicate that it needs a lock, but it ain't
necessarily so. But it definitely indicates that you can't edit the file
without doing something to it first (get a lock, change RO status) so it
is still very useful, even if you never use locking.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 11 15:06:21 2005

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