原因:https://msdn.microsoft.com/en-us/library/cc144123(VS.85).aspx
Note The number of different icon overlay handlers that the system can support is limited by the amount of space available for icon overlays in the system image list. There are currently fifteen slots allotted for icon overlays, some of which are reserved by the system. For this reason, icon overlay handlers should be implemented only if there are no satisfactory alternatives.
意思是說windows總共支持15個圖標,它自己占用了一部分。
TortoiseSVN是個老好人,怕自己占用的圖標太多,一部分圖標沒有給優先占用權。
知道了原因之后我們來處理 Windows10 平台下的問題:
win10 由於OneDrive占用了5個,所以我的處理辦法就是把OneDrive卸載掉,畢竟有牆你懂的。
卸載Onedriver的方法:
1、運行gpedit.msc,進入【計算機配置】-【管理模板】-【windows組件】-【onedrive】
2、進入 C:\Users\TQ\AppData\Local\Microsoft (TQ換成你的用戶名) 文件夾,刪除 OneDrive 文件夾
3、刪除導航欄中的OneDrive方法:
運行 regedit 進入注冊表,定位到 HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder ,把右側的Attributes屬性的值 f080004d 修改為 f090004d
4、SVN 自身設置修改:
右擊 -> TortoiseSVN -> 設置
5、修改 Icon 注冊表部分,regedit 進入注冊表
除上述紅色部分保留,其它項都刪除。OneDrive刪除需要修改權限后刪除,不然提示無法刪除。(更改項所屬擁有者)
最后重啟,就可以堅決所有問題了。