This is a very usual problem. Deleting the working directory is a right idea, but in a meanwhile, you can check put the project is some other directory.
You may have problem deleting ".svn" because one of Subversion processes holds some of the files. Most likely, this is TSVNCache.exe. Kill this project with Windows Task Manager (or any other utility) and then you will be able to remove the files.
If it does not help, it could be some other process.
To determining which process holds the files, you can use the utility from the
Sysinternals Suite. This set of utilities (formerly from
Winternals company, presently at Microsoft) is a must-have for any developer, please see:
http://technet.microsoft.com/en-us/sysinternals/bb842062[
^],
http://technet.microsoft.com/en-us/sysinternals/bb545027[
^].
The utility you need is "
handle.exe", please see:
http://technet.microsoft.com/en-us/sysinternals/bb896655[
^].
In your case, you use it with file name parameter:
handle.exe <file_name>
This utility will scan all kinds of handles, not just file handles. For file, it will scan all file handles matching the file name (so it does not have to be a full path name) and return information sufficient to identify each process, including its
pid. So, if you need more information on a process in question, you can also use other Sysinternals utilities, in particular, its
Process Explorer:
http://technet.microsoft.com/en-us/sysinternals/bb896653[
^].
Good luck,
—SA