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

Re: Explorer hangs - Possibly trying to open a network file?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Wed, 4 Feb 2009 17:47:56 +0000

2009/2/4 Stefan Küng <tortoisesvn_at_gmail.com>:
> Jeffx_at_Schoenbornx.sjc.collab.net wrote:
>> When I open a new Windows Explorer or browse to a new folder, the
>> window consistently hangs for 30 seconds or more. I've confirmed
>> that this is related to tortoise (1.5.6 and 7) by uninstalling and
>> reinstalling the entire application several times. There is no spike
>> in CPU, memory or network utilization; it's clear that Explorer is
>> waiting for something.
>>
>> I've tried to set the include/exclude dir as several people have
>> suggested and made random changes to different settings, all to no
>> avail.
>>
>> What's interesting is that this does not ever happen when I'm at
>> work; only when I take my laptop home. What I just discovered is that
>> I can connect to the VPN, open explorer (works great), then
>> disconnect and explorer continues to function just fine. So my
>> theory is that Tortoise is looking for a file in some network
>> location when it first opens (HOME environment variable or somesuch),
>> waits for that to fail, then moves on with it's normal business.
>>
>> Is there a file that it might be trying to open? Is there an
>> environment variable or other setting that Tortoise might be using to
>> find a file even if the drive is disconnected? Does it retry if the
>> desired file isn't found?
>
> TSVN checks for every drive whether it is a local or network drive so it
> knows whether to show the overlays or not.
> That check is done by using a Windows API. Unfortunately, that API also
> tries to mount a network drive first before giving up (if it's not
> connected).
>
> I don't know how we could prevent this though...

Ignore those drives if they are in the exclude list?

Simon

-- 
:       ___
:  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=1103143
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-02-04 18:48:02 CET

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.