[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Any Tortoise SVN activity seems to block deletion of directories

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Wed, 13 Oct 2010 12:55:30 +0100

On 13 October 2010 10:00, Richard Willis <RichardW_at_pulsar-pm.com> wrote:

> When I've finished working on a project and checked-in all the changes,
> why can I no longer
>
> delete that directory ?
>
>
>
> I mean "delete the working copy", so that it is no longer there, nothing to
> do with the subversion repository.
>
>
>
> For as long as I've been a Tortoise Subversion user, I've always always
> always got this message
>
>
>
> Error Deleting File or Folder
>
> Cannot delete <directoryname>: Access is denied
>
> Make sure the disk is not full or write-protected..
>
>
>
> i.e. the standard Windows message you get when a file/directory is in use
> by something else.
>
>
>
> I can usually delete all the stuff underneath that directory, but the
> directory itself stubbornly refuses to go; the only way out is a reboot !
>
>
>
> This has never bothered me before; I've just created new parent directories
> to hold my working copy. Now, however, my development environment is
> (stupid, I know) sensitive to the actual name of the root folder, so I have
> to delete it and I can't. What process has tenaciously claimed ownership of
> this directory, and how do I stop it doing so.
>
>
>
> As I said, I've had this problem since forever; I just assumed it was known
> about, but I can not find any reference to it in the FAQ.
>
>
>
You can use process monitor (free download from MS) to see what has the
handle open on that directory. It may be TSVNCache.exe.

If it is, then in the short term you can make TSVNCache.exe easier to
control. Create the registry key
(DWORD) HKCU\Software\TortoiseSVN\CacheTrayIcon and set it to 1. Then kill
the TSVNCache.exe process, it will automatically restart once you browse to
a working copy. Right click on the tray icon and select Exit to stop the
cache. Alternatively change the icon cache from default to shell and
TSVNCache.exe will not be used.

As most people are not seeing this, there must be something different about
your setup.
What OS are you using?
What is the path to the working copy?

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2671230
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-13 13:55:44 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.