I’m using TortoiseSVN.
On my project I created a directory, put files on it, added everything to SVN source control but haven’t committed it to the repository yet. It was looking like this:
/root_project_dir -> .svn -> dir1 -> .svn -> added_dir -> .svn -> subdir
But I mistakenly removed it with a regular Windows delete. Now, if I create the dir again, I can’t add it to TortoiseSVN, it says:
‘Directory ‘…/added_dir/.svn’ containing working copy admin area is missing. Please execute the ‘Cleanup’ command.
Ok, but when I run the ‘Cleanup’ command I get this:
‘…/added_dir’ is not a working copy directory.
I tried removing the directory, doing cleanup, creating it again, but couldn’t be successful.
How can I add this dir to versioning again?
Try to revert the addition: right-click on ‘root_project_dir’ folder (that was the parent folder, right?) and select ‘Revert’.