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

Re: Feature proposal: overlay for incompatible working copy

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 4 Aug 2011 11:26:01 +0200

On Thu, Aug 4, 2011 at 09:26, Markus Schaber <m.schaber_at_3s-software.com> wrote:
> Hi, Stefan,
>
>
> Von: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
>> On 03.08.2011 15:18, Markus Schaber wrote:
>> > It seems that, currently, tortoisesvn 1.7 beta 2 does not display any
>> > explorer overlays for a 1.6 format working copy.
>> >
>> > It would be nice to have at least some overlay for the top level
>> > folder, indicating that the working copy should be upgraded. As I know
>> > that overlay icons are limited, maybe we could reuse the ? icon for
>> > this purpose.
>>
>> Not really an option, since 1.7 clients can't read working copies with
>> older formats.
>>
>> And I don't want to add code that would only be used for a few minutes,
>> especially if it would mean a performance problem for the time after the
>> working copy is converted.
>
> I don't know how the current working copy detection code is working. But I was assuming that you try to detect a .svn directory, and if it exists, you try to get the status.
>
> My suggestion would just hook into the error path for that read attempt.
>
> But maybe I should try to look into the source of TSvnCache myself. :-)

Not that easy as you think.
The cache has to block scanning working copies where an 'svn st' call
fails - otherwise it would end up in an endless loop retrying to scan
the same faulty folders again and again and again...
And an 1.6 working copy is just that: a working copy where an 'svn st'
call failed. So it's immediately marked as blocked for the status
cache.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2809035
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-04 11:26:40 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.