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

Re: TortoiseSVN Bug with overlay icons on network drives

From: Udo Eberhardt <Udo.Eberhardt_at_thesycon.de>
Date: 2007-01-04 22:09:19 CET

Udo Eberhardt wrote:
> Stefan Küng wrote:
>> Udo Eberhardt wrote:
>>> I do also have the problem that icons mix up because all my working
>>> copies exist on a SUBST drive (for the same reasons already mentioned
>>> in this thread). I tried the suggestion to use a loopback network
>>> drive instead. The problem with this is that disk I/O throughput is
>>> cut down by a factor of two (at least on my machine). So
>>> compiler/linker runs much slower which is bad.
>>>
>>> Is there any chance that the problems with SUBST drives will be fixed
>>> in future releases, or are there serious technical problems?
>>
>> There's an easy way to solve this:
>> just exclude the original path from showing overlays (settings->icon
>> overlays->exclude paths).
>>
>> For example, if you have mapped \\station\folder\wc to g:
>> then put "\\station\folder\wc*" as the exclude pattern.
>>
>> The problems arise because the cache tries to fetch the status for two
>> "different" locations at the same time, but those locations are
>> actually the same --> two status fetchings for the same wc at the same
>> time. Subversion (I think more specifically apr) has problems with
>> that and can't work properly all the time in that case. But that's not
>> just a problem of apr but windows in general (SUBST drives are not
>> real drives, and certain API's don't work at all with those).
>>
>> Stefan
>>
>
> That's a great tip. Thanks! I will give it a try and report back my
> results.
>
> If this work-around works well then you should consider adding it to the
> docs.
>

Unfortunaetly, this work-around does not solve the problem. I still get
mixed-up icons after certain TSVN commands. However, meanwhile I found
out that this happens on C: (not a subst'ed drive) as well. So perhaps
the problem is not related to subst'ed drives.

Steps to reproduce:
1. Copy a new file to an existing working copy on C:, e.g. using Ctrl-C
and Ctrl-V in Explorer.
2. Choose SVN->Add on this new file and confirm the dialogs.
3. After the dialog disappeared _all_ files on the working copy,
including non-versioned files and the newly added file, are shown with
the green check mark icon. This icon is also shown on the .svn
directory. The icons do not change when I hit F5 (repeatedly).
4. Kill TSVNCache.exe using Task Manager.
5. Hit F5 in Explorer again (this creates a new instance of
TSVNCache.exe). The icons are now shown correctly: no icon for
non-versioned files, blue plus for newly added files, etc.

System information:
Windows XP SP2
TortoiseSVN 1.4.1, Build 7992 - 32 Bit , 2006/11/11 09:34:39
Subversion 1.4.2,
apr 0.9.12
apr-iconv 0.9.7
apr-utils 0.9.12
berkeley db 4.4.20
neon 0.26.2
OpenSSL 0.9.8d 28 Sep 2006
zlib 1.2.3

Thanks in advance for any comments?

Udo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 4 22:13:07 2007

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

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