TortoiseSVN file overlay performance - are there any ways of improving it?
Asked Answered
C

2

16

I'm using TortoiseSVN on my development machine (running Windows Server 2003) and VisualSVN Server on the server side. Both are the latest versions (against Subversion 1.6.5).

Everything works well generally; however I'm getting a little frustrated with the TortoiseSVN file overlays (the little icons that show locked or modified statuses on the files in Explorer). Sometimes these overlays seem to update instantly after a commit or lock, sometimes they only change after a couple of refreshes, and sometimes they show completely the wrong status until the next reboot.

It might be an impossible question to answer, given the amount of variables (other installed software, for example), but are there any known tricks to speed up the updating of these overlays?

Choric answered 6/10, 2009 at 14:10 Comment(0)
E
19

By far the biggest performance increase I got was to set the client's Icon Overlays to not process the whole hard drive, only the locations my SVN files live in.

To do this, open the settings (right-click in Explorer->TortoiseSVN->Settings), select Icon Overlays, then in the Exclude paths: enter c:\*

In the Include paths: enter the paths to your Subversion working copy directories (for me all are under c:\subversion\* and c:\workspaces\*)

Use a newline to separate entries (see screenshot)

This made the client seem a thousand times quicker.

This screenshot shows how to exclude c: and d: drives, just including the relevant directories:

overlays excludes screenshot

You can get some more performance tips from the TortoiseSVN docs.

Edington answered 6/10, 2009 at 14:16 Comment(3)
Great, I didn't know that! Note that the directories are semi-colon delimited.Morbific
When you say 'only the locations my SVN files live in', do you mean the actual SVN repository files, or the working copies?Choric
Never mind, I was being silly :) You're right, that does make a difference!Choric
N
2

You could disable TSVNCache.exe altogether. I decided I was willing to live without updated icons if it meant I could open and close Visual Studio orders of magnitude faster.

You could also lower the priority of TSVNCache, which is what my boss did with success. The main problem we were having was startup and shutdown times of Visual Studio, so he wrote a batch file that lowered the priority of the process and then started VS.

Nibelungenlied answered 6/10, 2009 at 15:14 Comment(1)
That's not really what I'm after; to me, the overlay icons are one of the most useful features of TortoiseSVN, so disabling them completely isn't really an option - I just wanted them to be a bit 'snappier'.Choric

© 2022 - 2024 — McMap. All rights reserved.