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

Re: TortoiseSVN project monitor keeps handle on working copy after deletion of the project

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 04 Feb 2015 21:42:44 +0100

On 04.02.2015 11:40, Lübbe Onken wrote:
> Hi Stefan,
>
> I just came across the following problem:
> I deleted a locally monitored project from the TSVN project monitor and
> wanted to delete the corresponding working copy afterwards. Windows
> explorer didn't allow me to do this, because it was "still in use
> somewhere".
> Only after I closed the project monitor, was I able to delete the
> working copy as well, so I assume that the TSVN project monitor still
> has a grip on the working copy even though it should not monitor it anymore.

This will take a while to fix. At least I found why it happens:
the client context structure that's created at the beginning of the
dialog has a memory pool that's used to access the SQLite db.
Unfortunately, that pool is never cleared until the dialog closes. And
the file locks for the wc.db files are only closed when the pool gets
cleared.

So I either have to use only local SVN objects or find a way to clear
that memory pool.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3096833
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-02-04 21:42:32 CET

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

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