在Windows 7下,我似乎无法让图标显示出来,我真的很怀念Windows XP的这一点。
如何解决?
在Windows 7下,我似乎无法让图标显示出来,我真的很怀念Windows XP的这一点。
如何解决?
当前回答
可能出现的问题和解决方案
Windows限制可用的覆盖图标的数量,参考Kris Erickson的回答。 TortoiseSVN设置不当,参考Ralph Cowling的回答。 从早期版本(1.6.10之前)更新的已知错误,请参阅这里。 TortoiseSVN并不是为所有用户安装的,尝试像下面这样用cmd安装,如果下面三个解决方案都不工作,我相信这个方法会挽救你的生命。
rem Set your own path.
set TOOL_ROOT=d:\Tools\TortoiseSVN-1.6.13.20954-win32-svn-1.6.16\tortoisesvn_1.6.16.21511
set PACKAGENAME=TortoiseSVN-1.6.16.21511-x64-svn-1.6.17.msi
set TOOL_INSTALLROOT="c:\Program Files (x86)\TortoiseSVN"
msiexec /i "%TOOL_ROOT%\%PACKAGENAME%" INSTALLDIR=%TOOL_INSTALLROOT% ALLUSERS=1 ARPSYSTEMCOMPONENT=1 RebootYesNo=No REBOOT=ReallySupress /qb-
set ret=%ERRORLEVEL%
rem The installer seems to return same values as MSI
rem These codes mean that the product is properly installed, even though the code is not zero.
rem 1641 ERROR_SUCCESS_REBOOT_INITIATED
rem 3010 ERROR_SUCCESS_REBOOT_REQUIRED
if %ret% EQU 1641 set ret=0
if %ret% EQU 3010 set ret=0
if %ret% GTR 0 exit %ret%
其他回答
你有没有试过在乌龟设置中将状态缓存改为“默认”?我在文件夹上的覆盖图标有这个问题,因为我在“Shell”中有这个选项。 选项在“设置->图标叠加”。
也许这可以帮助你http://tortoisesvn.net/node/97
Windows只能显示有限数量的覆盖图标(总共15个,在Windows之后有11个)。像Office Groove, Dropbox, Mozy, Carbonite等程序将劫持一堆11种可能的覆盖图标(如果微软增加这些图标的数量,因为使用它们的应用程序的数量似乎越来越多)…
你可以看到设置了哪些覆盖,并在注册表中更改它们(自担风险):
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 -在CVS TortoiseCVS1 -不在CVS中 TortoiseCVS3 -冲突 TortoiseCVS4 -在CVS只读 乌龟ecvs5 -忽略 乌龟ecvs6 -新增 TortoiseCVS7 -删除 龟龟ecvs8 -锁定
在我的例子中,Dropbox的覆盖在注册表中以“(引用的标识符)”开始。我删除了所有“前缀”并重新启动explorer.exe。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers
编辑:我安装了Windows 10,这个解决方案不适合我。所以我只是去了相同的注册表位置,删除所有谷歌和SkyDrive记录,并重新启动explorer.exe。
第二次编辑:安装TortoiseGit后,它在没有任何定制的情况下修复了一切。
我建议向微软投诉图标覆盖限制低得离谱。如果我们有足够多的人抱怨,也许他们会解决这个问题的真正根源:
查看页面底部的评论: http://msdn.microsoft.com/en-us/library/cc144123 (VS.85) . aspx
给微软Windows 7团队关于这个问题的反馈: http://mymfe.microsoft.com/Windows%207/Feedback.aspx?formID=195
升级到TSVN 1.6.8.19260后,我有同样的问题(在资源管理器中没有图标),但在我的情况下,在HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers下根本没有TSVN条目。在我最初的安装中,我没有包括额外的图标集,因为我从来没有使用过它们(而且我从来没有在以前的任何升级中安装过它们)。
我修改了安装,添加了额外的图标集,我的图标神奇地重新出现了。