Menu

Commit [r29712]  Maximize  Restore  History

Move the check if context menu is allowed on the path earlier in the loop.

Previously SVNHelper::IsVersioned would be called (from
g_shellCache.IsVersioned) and that would try to access the WC (opening wc.db).
That could cause performance issues with SQLite, for example if accessing
a WSL-share.

Original report: https://groups.google.com/g/tortoisesvn/c/BjYlMU4Bg6A
Discussed: https://groups.google.com/g/tortoisesvn-dev/c/Ao4rtDqnEiI

danielsahlberg 2024-09-18

changed /trunk/src/TortoiseShell/ContextMenu.cpp
/trunk/src/TortoiseShell/ContextMenu.cpp Diff Switch to side-by-side view
Loading...