I can't delete this local svn working directory on windows

15,295

Solution 1

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.

Solution 2

Solution 3

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)

Solution 4

I ended up just closing all window explorer instances and reopening then for some reason I was able to delete. Hope this helps someone :P

Share:
15,295
leora
Author by

leora

Updated on June 30, 2022

Comments

  • leora
    leora almost 2 years

    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?

  • john poal
    john poal almost 15 years
    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.
  • leora
    leora almost 15 years
    i tried that but still same issue . . by the way, what is the logic behind deleting a few things at once??
  • user982201
    user982201 almost 15 years
    Process Explorer may have the same behavior as Unlocker but it is worth a shot.
  • Vinay Sajip
    Vinay Sajip almost 15 years
    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.
  • Lex Li
    Lex Li about 14 years
    Thanks for the tips. After killing this process I can remove the folder here on my machine.
  • emilie zawadzki
    emilie zawadzki almost 11 years
    It Worked for me after having deleted other SVN process. Made a clean up and it was OK :)
  • Steve Chambers
    Steve Chambers over 6 years
    I also needed to kill two processes called TortoiseProc.exe in order to delete a directory with this error message.