Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN icons not showing up under Windows 7

I can't seem to get the icons to display under Windows 7 and I really miss this from Windows XP.

How can it be fixed?

like image 836
Lodle Avatar asked Jun 29 '09 11:06

Lodle


2 Answers

Windows can only show a limited number of Overlay Icons (15 total, 11 after what Windows uses). Programs like Office Groove, Dropbox, Mozy, Carbonite, etc, will hijack a bunch of the 11 possible overlay icons (boy would it be nice if Microsoft upped the number of these as the number of applications that use them seem to increase and increase)...

You can see what overlays are set up, and change them (at your own risk) in the registry here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers

If you are using TortoiseCVS (and have nothing else using overlay icons), you will get a couple of TortoiseSVN Icons, and all of your TortoiseCVS icons. This is because the overlay icons are used in alphabetical order. Again, at your own risk (editing the registry may blow up your computer, yada, yada, yada -- and if you are reading Stack Overflow and using Windows and haven't edited the registry, you are a rare beast indeed), feel free to rename them (I suggest putting numbers in front of the ones you want to use and "z_"'s prefixed to the ones you don't need). The TortoiseSVN Shell extensions are nicely named so you know what they do, the TortoiseCVS extensions are not. After looking through the source code, I found the pertinent information:

  • TortoiseCVS0 - In CVS
  • TortoiseCVS1 - Not in CVS
  • TortoiseCVS3 - Conflicted
  • TortoiseCVS4 - In CVS readonly
  • TortoiseCVS5 - Ignored
  • TortoiseCVS6 - Added
  • TortoiseCVS7 - Deleted
  • TortoiseCVS8 - Locked
like image 172
Kris Erickson Avatar answered Nov 17 '22 07:11

Kris Erickson


Halt ye!

Before doing anything to your registry or similar procedures listed in Kris Erickson's (excellent) answer or the ones below, there's something to consider...

Are you on a network drive?

If so, go to Tortoise SVN settings (right click any folder > TortoiseSVN > Settings), then go to 'Icon Overlays'

Make sure you've checked 'Network Drives' as pictured:

alt text

By default on a fresh Tortoise install, network drives don't have the icons added.

This solved the problem for us. If this fails for you then obviously you can go through the (slightly) more involved solutions listed here.

like image 218
Ralph Cowling Avatar answered Nov 17 '22 07:11

Ralph Cowling