Hi Daniel, We already tried using the two alias for WSL disk:
\\wsl.localhost\* \\wsl$\* It does not help. On our systems the "\\wsl.localhost\*" setting does not give any difference. We also know that the "hanging" is only caused by TortoiseSVN because un-installing TortoiseSVN removes the hanging and re-installing puts the problem back. We also do not have TortoiseGIT installed. We also see it is caused by TortoiseSVN because it only happens when you right-click on a file/folder that is inside a SVN working copy. Right-clicking on other files inside WSL does not cause the hanging. Are there any traces we can make to investigate where the hanging is coming from? Johan Laneau On Sun, Sep 15, 2024 at 4:02 PM Daniel Sahlberg via TortoiseSVN < tortoisesvn@googlegroups.com> wrote: > tisdag 10 september 2024 kl. 16:30:30 UTC+2 skrev johan....@gmail.com: > > 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 a topic in the > Google Groups "TortoiseSVN" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tortoisesvn/BjYlMU4Bg6A/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > tortoisesvn+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tortoisesvn/96ef5a73-1e2b-4839-966a-1e4550eb3e80n%40googlegroups.com > <https://groups.google.com/d/msgid/tortoisesvn/96ef5a73-1e2b-4839-966a-1e4550eb3e80n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 tortoisesvn+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/CAN69bip9KFQ6FuDNWiKQ_7G5f6J6B4avPUWXZwVMZAESgf6FfA%40mail.gmail.com.