views:

183

answers:

3

I'm using Tortoise SVN on Windows 7.

I've got a folder that got fouled up (probably b/c I renamed it outside of SVN). I've read the SO article about obstructed folders/files, and that folder is now not listed in the Repository but it's still showing up with a warning icon (when I do a Cleanup Tortoise reports that it's "not a working directory"). This then triggers warning icons for all parent directories. I could ignore that warning but then might miss real warnings. Also the "caution" warning appears on the root folder even when it should be a "Files need to be committed" icon.

Summary of what I've tried

1.Removed that folder (Data) from source control. 2. When I try to Cleanup it's parent folder, I get an error that Cleanup failed because \data is not a working directory 3. I (perhaps foolishly?) then deleted that directory from the Repo browser. That succeeded but did not fix the problem. That folder is NOT listed in Repository. 4. (update) And... if I try to Checkout that folder Tortoise doesn't show me the correct Repository folder (.../data/)and if I manually type that one in, it says it does not exist.

Any ideas?

+1  A: 

Sometimes it is easier to checkout from scratch and copy your changes back into the newly checked out working copy.

SVN is wierd that way.

Byron Whitlock
The /data/ folder is now not under version control (apparently). If I right click it and choose "checkout" I get an error that that /data/ folder does not exist in the repository.
Clay Nichols
A: 

use the CfM dialog (check for modifications) on the parent folder. The folder in question should be listed there with status "conflicted". Just right-click on that folder and select "resolved" from the context menu.

Stefan
I Right-clicked the immediate parent of the problem folder (\data\) and chose "Check for modifications". The problem folder is listed as *obstructed* and when I right click it, "resolved" isn't in the menu.Any other command from that menu that might do the trick ? (Delete?)
Clay Nichols
Obstructed means that there's a local folder with the same name as a folder in the repository.
Stefan
A: 

you might need to delete the hidden svn folder that are put in folders. if you don't have it already just enable it so that you can view hidden folders, then find the svn folder withen this folder tha tyour having issues with and delete it. you may need to refresh the folder after that.

Letseatlunch