Very slow (tortoise)SVN compare to base since win 10 Fall Creators Update [Local Repo]?

SvnWindows 10Tortoisesvn

Svn Problem Overview


I've noticed an immense delay (just sitting there doing nothing) since upgrading to the latest version of windows while using tortoiseSVN to compare any file to its base version [TortoiseMerge].

I was on the fast track and got the fall creators update about a month ago and noticed this too so i reverted back and it went away. After it hit RTM I thought this was fixed but apparently I was wrong.

What do I mean with very slow?

Before fall creators update: <1 second

After: A minute or 2, as long as it takes..and that's just for comparing 1 file.

I just go read an article or something and wait for the tortoiseMerge icon to popup in the taskbar.

Repo is on my Desktop - Client is on my Laptop - same network.

Anyone with a similar experience? Did anyone find a workaround?

Edit: The issue has more to do with TortoiseMerge than TortoiseSVN or SVN itself - I switched to Beyond Compare and it is working well for now.

Svn Solutions


Solution 1 - Svn

The issue is already reported to Microsoft and Microsoft fixed in in Visual Studio 2017 15.6 when you recompile your code. Here the fixed MFC without the slow Get/SetPixel is used.

To fix in in Windows 10 for current and older compiled tools which use MFC, Microsoft released the Update KB4058258. The release notes don't mention the fix, but it is confirmed by the reporter that the fix is part of the cumulative update.

So installing the Update should fix it. So if you have the issue, make sure you run at least Build 16299.214 (run winver.exe to see the number).

enter image description here

If you have this or a higher number at last position, the issue should be gone.

The old and outdated information are archived. See the revisions of this answer for the old workarounds.

Solution 2 - Svn

Instead of removing the "ribbon" setting, or changing security in Windows, I installed the last nightly build (1.9.9.x), and the performance is back. I looked at the settings, and the ribbon is still checked as default. But the performance is there. https://nightlybuilds.tortoisesvn.net/latest/x64/full/

Solution 3 - Svn

As a workaround, you can use the TortoiseUDiff tool instead. It is still fast. Here is what I do:

  1. Right-click a working folder in Windows Explorer and click 'SVN Commit'
  2. Select one or more files in the 'Commit > Changes made' list
  3. Right-click the selection and select "Show changes as unified diff"

It's not as powerful as TortoiseMerge, but if you just need to see the changes you are committing, the above method still works fast.

Solution 4 - Svn

After installing 2018-01 Cumulative Update for Windows 10 Version 1709 for x64-based Systems (KB4058258) the speed problems for WinMerge appear to be completely fixed.

Solution 5 - Svn

In the TortoiseSVN settings window, I

  1. selected Diff Viewer/Merge Tool section

  2. checked External

  3. selected WinMerge.

Works like a charm.

Solution 6 - Svn

It did a trick for me. I allowed TortoiseSVN program in my antivirus firewall protection settings. It made SVN Commit fastest.

Go to your antivirus. I have Quick heal. So I will tell you the steps accordingly.

  1. click on "Internet & Network"

  2. Click on "Firewall protection"

  3. Check for "Program rules" and click on "Configure" button. It will open a window displaying the list of allowed Exe on your system. Your antivirus blocks tortoiseSVN and related exes, if they are not in allowed Exe list.

  4. So now click on "add" button, open dialog box will popup.

  5. Go to "C:\Program Files\TortoiseSVN\bin" directory

  6. Select TSVNCache.exe, TortoisePlink.exe, TortoiseProc.exe, ConnectVPN.exe And click "open" then click OK in list window.

Here you go. Hope it helps you.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAngelicCoreView Question on Stackoverflow
Solution 1 - Svnmagicandre1981View Answer on Stackoverflow
Solution 2 - SvnfoxontherockView Answer on Stackoverflow
Solution 3 - SvnhumbadsView Answer on Stackoverflow
Solution 4 - SvnConradView Answer on Stackoverflow
Solution 5 - SvnFlot2011View Answer on Stackoverflow
Solution 6 - SvnMaddyCoderView Answer on Stackoverflow