On Monday, December 14, 2020 at 3:37:10 PM UTC+1 [email protected] 
wrote:

> With activated TortoiseSVN Windows Explorer hangs on almost every action 
> (right click / copy-paste, ...). It seems to be enough for a dead 
> network-path to be in the recent file list. It's extremely bad when the 
> network access has been done via IP-Address (hangs for minutes!).
>
> I tried to track the issue down and a call to GetDriveType seems to be the 
> culprit (likely from ShellCache::IsPathAllowed). If I test a call from a 
> simple C-program, I can reproduce the hang behavior (blocks for approx 5 
> min). Path string ist like: "\??\UNC\172.16.2.51\BadIpAddress\"".
>
> Not sure what's the best way to fix this. Maybe making the calls async is 
> an option or to not call the API for "recent file list" at all ().
> An alternative to mitigate the issue would be to test the path via 
> PathIsUNCServerShare prior to making a call to GetDriveType.
>

the best way to "fix" this is to simply deactivate the icon overlays for 
network drives. Because you shouldn't store working copies on network 
drives anyway.

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/3294340f-3583-4147-8337-b69db5ff1e11n%40googlegroups.com.

Reply via email to