views:

416

answers:

4

i want to delete just my local working copy (no server changes) and i am getting the following error:

Cannot delete dir-prop-base: access is denied

Make sure the disk is not full or write protected and that the file is not currently in use.

I have tried using Unlocker but it says that no process has a handle to this and when i select the "Delete" action from unlocker, nothing happens.

any suggestions?

A: 

I presume it's not the current working directory for any process running on your machine? (e.g. Command Prompt ;-)

What happens if you type in rd /s <dirname> from a Command Prompt in the parent directory?

Vinay Sajip
if i do the rm from command prompt it just says "Access is Denied"
ooo
Can you call up the security information for that filter (e.g. Security tab of the Properties dialog for the folder) to see whether you have the rights to that folder which you might be expecting.
Vinay Sajip
+2  A: 

If you're using tortoise svn, there's a process called TSVNCache.exe - kill it. There's a way to permanently disable it too, but I forget where.

Matt Jacobsen
i tried this and it didn't seem to make a difference
ooo
Another problem I've seen with tortoise is that sometimes you can't (for whatever reason) delete the entire source tree at once. What worked for me was to delete the source tree a bit at a time.
Matt Jacobsen
i tried that but still same issue . . by the way, what is the logic behind deleting a few things at once??
ooo
I don't think there is. The only other idea I had at the time was to bang my head on the keyboard, and the lead dev looks at us funny when we do that.
Matt Jacobsen
Thanks for the tips. After killing this process I can remove the folder here on my machine.
Lex Li
+1  A: 
Jesse
Process Explorer may have the same behavior as Unlocker but it is worth a shot.
Jesse
A: 

i found windows explorer seems to hold onto some svn folders even if it's not open on it. try killing explorer.exe (dont worry, you can bring it back without restarting by just running: explorer.exe)

steven