在Windows 7下,我似乎无法让图标显示出来,我真的很怀念Windows XP的这一点。

如何解决?


当前回答

升级到TSVN 1.6.8.19260后,我有同样的问题(在资源管理器中没有图标),但在我的情况下,在HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers下根本没有TSVN条目。在我最初的安装中,我没有包括额外的图标集,因为我从来没有使用过它们(而且我从来没有在以前的任何升级中安装过它们)。

我修改了安装,添加了额外的图标集,我的图标神奇地重新出现了。

其他回答

为了完成Johannes的回答,你可以检查这个线程,其中提到了另一个原因(第一个原因是安装32位客户端而不是64位客户端)(强调我的):

只有最新版本的TSVN和TCVS能够共享覆盖图标,并且由于资源管理器有14个覆盖图像和无关的覆盖图标的限制 只是不出现你可能有太多… 如果它的覆盖图标显示,你必须实际使用 32位的Windows资源管理器,这当然意味着你也必须这样做 安装32位版本的TSVN。

在安装TortoiseVCS时可能会出现这个问题,因为:

Looking at what got installed in the filesystem and the registry, it looks like they tried to do what I do with my Shell extensions - install both 64 and 32 -bit versions, so that nobody says "I don't see my overlays/menus"! ;) Unfortunately, it looks like the registry entries for 32-bit got hosed, so the 32-bit extension DLL, even though present, does not have the correct registry entries. If in doubt I suggest to deinstall TCVS and TSVN. Then install TSVN. Maybe after installation reboot twice, not only once. And if they still don't show up go to software control panel and choose to repair the installation. That did the trick for me with when upgrading from the previous to the current version. You should probably install the TortoiseXYZ variant you plan to use mainly first, to improve its chances to fall into one of those limited number of overlay icons slots before the TortoiseXYZ variant you use less. Always keep these limited number of overlay icon slots in mind when trying to analyze malfunctions.

升级到TSVN 1.6.8.19260后,我有同样的问题(在资源管理器中没有图标),但在我的情况下,在HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers下根本没有TSVN条目。在我最初的安装中,我没有包括额外的图标集,因为我从来没有使用过它们(而且我从来没有在以前的任何升级中安装过它们)。

我修改了安装,添加了额外的图标集,我的图标神奇地重新出现了。

另外两个可能的解决方案:

关闭tsvnache .exe并让它重新启动。这导致我的外壳覆盖图标重新出现在几个场合。 如果您最近从以前的版本升级了TortoiseSVN,您可能需要升级您的工作副本。这可以通过右键单击您的项目文件夹,并从上下文菜单中选择“SVN升级工作副本”来完成。

图标不显示似乎还有另一个原因。 今天我更新了我的TortoiseSVN客户端从1.6。X到1.10.x。之后,我的工作副本的图标不再显示。 但事实证明,这与许多应用程序占据可能的图标无关。原因是工作副本格式太旧了。首先,您必须使用新安装的客户端制作“SVN升级工作副本”。

您可以在这里阅读更多详细信息:SVN升级工作副本

祝你有愉快的一天

可能出现的问题和解决方案

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%