Nope, won't help. The hang already occurs when trying to *determine *if it's a network share... I posted a possible solution for TortoiseGit: https://gitlab.com/tortoisegit/tortoisegit/-/merge_requests/148
Stefan schrieb am Montag, 14. Dezember 2020 um 18:10:28 UTC+1: > 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/513aba17-de2c-460b-90ef-77671685ed82n%40googlegroups.com.
