Deleting a file or folder monitored by TortoiseSVN

If you are trying to delete a file or folder and it won’t let you by saying that it is being used by another process and you are sure that no other visible program has it opened, chances are it is being monitored by TSVNCache.exe, the background process that watches your file system for SVN related files and folders. Killing that process will allow you to delete the file or folder you need. Note that if you want to delete a file that is being versioned you should do it through the SVN delete command and not through Windows as you risk corrupting your working copy. This particular case applies to instances where you want to delete a folder that is no longer being version controlled. If it does not immediately work, then restarting your computer after deleting the SVN folders should do it.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s