Windows Explorer icons in TortoiseSVN take a long time to refresh to correct state

后端 未结 14 1004
说谎
说谎 2020-12-08 12:53

After I commit files, the icons stay on either modified or waiting for commit for a long time. Is there any way to force a refresh to ensure that the icon that I am seeing

相关标签:
14条回答
  • 2020-12-08 13:34

    Stumbled upon this issue recently. Found a short and dirty workaround that has proven to be 100% effective.

    Create an empty text file in the folder you wish for the icons to refresh in by right clicking and selecting "New" --> "Text Document". The icons should magically refresh. Delete the empty text file after of course.

    0 讨论(0)
  • 2020-12-08 13:34

    Closing the Windows Explorer window and reopening helps. Most often the icon stays at the tree part of Windows Explorer.

    And no - Clean Up and F5 doesn't help. I guess it has something to do with Explorer and not TortoiseSVN.

    0 讨论(0)
  • 2020-12-08 13:35

    I had a similar problem. I'v created a new branch and afterwards checked out to a new working copy. The new working copy didn't have the icon overlays as it should. Nothing showed up. Only after killing the TSVNCache.exe process via the Windows task manager, did the icons appear correctly.

    0 讨论(0)
  • 2020-12-08 13:38

    I don't know if it's related but hitting F5 seems to help... sometimes.

    My experience with TortoiseSVN is that the performance is somehow directly linked to the number of checked out directories. You can set the directories that must be included/excluded in some TortoiseSVN properties to speed up the process.

    0 讨论(0)
  • 2020-12-08 13:38

    So... of all these answers/tricks/solutions, honestly all you have to do is switch to another pre-existing branch using the dropdown - right click > Git Branch, then switch back to the branch you were working on in order to see the status icons updated. Voila!

    0 讨论(0)
  • 2020-12-08 13:39

    F5 did not work for me either, but I found one F5 method that worked.

    Say you have a folder called projects and in there is a folder called mysubversionedproject. If you expand the explorer tree, you will see

    • projects
      • mysubversionedproject

    If you now press F5 it might not work, as many have noticed.

    But, if you close this tree so that you only see

    • projects

    (and made sure that you also clicked on projects so that it is actually selected)
    and press F5 and then expand the tree again, then it might work.

    For me, mysubversionedproject now has the overlayed icon, as it should.

    0 讨论(0)
提交回复
热议问题