tisdag 10 september 2024 kl. 16:30:30 UTC+2 skrev [email protected]:

Hi,

We are experiencing an issue with TortoiseSVN. When we right click in 
Windows explorer on a file or folder that is part of a SVN working copy 
that checked our under WSL, the explorer window hangs (between 15 seconds 
and 45 seconds) and only after that show the right click menu.
The issue is not present when TortoiseSVN is not installed. We tested both 
versions 1.14.5 and 1.14.7 and have the same results.

This issue was already described earlier in 
https://stackoverflow.com/questions/72317768/right-click-in-windows-on-a-svn-folder-shared-in-wsl-takes-forever-why.
 
However, the solution mentioned there does not work for us. 
We can partially resolve the issue by adding "\\wsl$\*" to "settings", 
"general", "Context Menu", "Do not show the context menu for the following 
paths". When doing this, the duration of the hung state appears reduced to 
15econds to 20seconds instead of more than 40seconds.


I noticed that sometimes, Windows would redirect \\wsl$\XYZ to 
\\wsl.localhost\XYZ, so adding \\wsl$\* didn't help. I had to add 
\\wsl.localhost\* (as hinted in the above article) to get it working 
reliably.

Do you have any other applications adding to the context menu that might 
account for the remaining seconds? (For example, TortoiseGit is adding a 
context menu much in the same way as TortoiseSVN, but I din't know how 
affected Git might be by limitations of the WSL subsystem.


Note that we do not require TortoiseSVN to work on files located in the WSL 
drive. This appears to be blocked by an incompatibility of the WSL 
filesystem and SVN (see https://github.com/microsoft/WSL/issues/4689). We 
just want to avoid the hung state such that we can use the context menu for 
other actions on those files. Can you tell us how to configure the settings 
accordingly? Or fix this in TortoiseSVN itself?


I'm guessing that this is mostly because TortoiseSVN tries to search for a 
working copy database (.svn folder) and accessing the WSL storage from 
Windows is not very performant (probably exaggerated by accessing the 
issues the SQLite database is having with Windows/WSL's limited support for 
file locking). The best solution is probably getting the setting above 
working. There is probably only little that can be done within TortoiseSVN.

Kind regards,
Daniel

-- 
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/96ef5a73-1e2b-4839-966a-1e4550eb3e80n%40googlegroups.com.

Reply via email to