Tortoise CVS图标显示不正确或不显示的解决方案

本文解决TortoiseCVS文件图标显示不全的问题,因Windows仅支持15种覆盖图标,安装多个版本控制系统导致图标冲突。通过调整注册表中图标顺序或卸载多余软件可解决。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

之前一直留意到我的Tortoise CVS中文件的图标显示的不正确,比如未修改的文件上带一个绿色的对勾,修改了的文件应该带一个红色的标记,没有在Tortoise CVS库中的文件应该带一个蓝色的问号的图标。但是我发现我的文件夹中除了未修改的文件带了一个绿色的对勾,其它的类型的文件,都没有相应的显示。今天无意中看到,一个说法,Windows中只能显示15种Overlay的文件Icon,Overlay Ico简单的说就是实现TortoiseCVS把自己的各种小图标叠加到系统本身的文件图标上的方法。因为我的机器中已经装了一个Tortoise SVN了,肯定是Overlay的图标太多了,试着把Tortoise SVN给卸载了,问题果然好了。

TortoiseSVN 文件夹图标不显示

July 16th, 2010 | Tags: 文件夹图标

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:

  • TortoiseCVS0In CVS
  • TortoiseCVS1Not in CVS
  • TortoiseCVS3Conflicted
  • TortoiseCVS4In CVS readonly
  • TortoiseCVS5Ignored
  • TortoiseCVS6Added
  • TortoiseCVS7Deleted
  • TortoiseCVS8Locked

其他相关文章:

TortoiseCVS获得状态信息》

http://svndoc.iusesvn.com/tsvn/1.4/tsvn-dug-wcstatus.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值