Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN shows red ! decorator for folder, but no files within it are marked with "!"

I'm new to SVN. I'm using the latest version (svn 1.6.9, TortoiseSVN 1.6.7.18415).

Some folders who a red exclamation point next to them. If I drill down, I find a sub folder with ! as well but no files within that are marked with ! (all are either a green checkmark or no icon (because they are Ignored (like .exe files) .

What I've tried:

  • Cleanup {reported success}
  • Add {reports nothing to add. All files either under version control has been ignored per the .ignore property.
  • Commit {succeeds}
  • SVNupdate {succeeds}
  • Restarted computer.

Some oddities: -I had a bunch of CVS folders (these files were copied over from a PC that was using CVS but we don't need that version history so I didn't import it into SVN). I deleted those CVS\ folders and they are showing up (as unversioned files) when I CheckIn.

Any ideas?

Edit: Here's what I did that fixed it (based on Turnkeys answer):

  1. Did an SVN>Commit and checked all the "non versioned" CVS folders (that I'd deleted),
  2. Did an SVNupdate and then only one folder was still showing (!).
  3. Did an SVN> CleanUp and it's all looking good now.
like image 966
Clay Nichols Avatar asked Mar 16 '10 19:03

Clay Nichols


3 Answers

It sounds as if those deleted files may have been marked as checked-in at some point and SVN is trying to delete them in the repository when you do the commit. Are you sure when you do the commit that it's not merely trying to update those files as missing rather than check them in? If so, go ahead and check them in as deleted by checking them during the commit (they should have a "Text Status" of missing.

like image 65
Turnkey Avatar answered Nov 16 '22 01:11

Turnkey


I have had this happen right after I have done a check-in. Even hitting F5 to refresh the window might not refresh the folder decorator.

Possible solutions I've used:

  1. Do an update on the folder
  2. Close the explorer window and reopen it
  3. Open up the Tortoise SVN settings... click Icon Overlays... then change the Status Cache at the top of the right panel to be 'None'.
  4. The TSVNCache.exe process caches the status... it might be hung or something. End process (if you think it's hung).
like image 35
Marc Avatar answered Nov 16 '22 01:11

Marc


You probably have a tree conflict on the folder. See the TortoiseSVN help for more information about what they are, and how to resolve them.

like image 28
Sander Rijken Avatar answered Nov 16 '22 02:11

Sander Rijken