I cannot delete this local svn working directory in windows

I want to delete only my local working copy (no server changes), and I get the following error:

Unable to remove dir-prop-base: access denied

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

I tried using Unlocker, but it says that no process has a handle to it, and when I select the β€œDelete” action from unlock, nothing happens.

Any suggestions?

+6
svn tortoisesvn
source share
8 answers

If you use the svn turtle, there is a process called TSVNCache.exe, kill it. There is a way to permanently disable it, but I forget where.

+12
source share
+2
source share

I found that Windows Explorer seems to be holding onto some svn folders, even if it is not open on it. try killing explorer.exe (don't worry, you can return it without rebooting just by running: explorer.exe)

+1
source share

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

+1
source share

I assume this is not the current working directory for any process running on your computer? (e.g. Command Prompt; -)

What happens if you type rd /s <dirname> from the command line into the parent directory?

0
source share

None of the above tips worked for me. I was finally able to rename it using UnlockIT (http://emcosoftware.com/unlock-it) and killing explorer.exe and wmpnetwk.exe (Windows Media Player File Sharing Service)!

Thanks to Unlocker (http://www.emptyloop.com/unlocker/) for comparing with links to alternatives at the bottom of the page, although I didn’t want to install the file extension for Unlocker, and the standalone wizard didn’t run for me.

0
source share

I booted into safe mode using the command line and used rd / s.svn - it will work!

0
source share

If you have problems with the outdated version of TortoiseSVN, and your TSVNCache.exe process comes back to life after you kill it, or if you just feel uncomfortable killing processes or downloading another program,

try what i did:

  • Instead of deleting everything from the root folder, start by deleting it in small pieces. (Matt Jacobson's suggestion) Select a small folder
  • Expand the folder (TortoiseSVN-Export-'onto yourself http://tortoisesvn.net/unversion.html )
  • Delete it permanently (Shift + delete)
  • Repeat for other folders
  • Also, delete the root svn folder to get rid of the cache of the deleted file in the .svn folder.
0
source share

All Articles