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

Re: Open file handles of TSVNCache prevent deletion of directorie s

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-05-23 20:42:47 CEST

Jody Shumaker wrote:
>> It wouldn't really solve that problem. The open handles are dealt with
>> by the cache, but it can only do so if the corresponding app also
>> handles all the required window messages (see my earlier post about
>> it). Without those messages sent, the cache can't know when to close
>> the handles.
> There's a problem I've been having though where having the cache use
> svn:ignore would help. VS8 build tries to delete a temp file it
> created and fails because tsvncache.exe has an open handle on it
> still. The file however is in a directory that is set in svn:ignore

Even if we would implement this feature, this case wouldn't be fixed.
You see, the cache can only ignore folders to crawl, but not files. The
cache has to call svn_client_status() on every folder, and that function
touches every file in that folder, even the ignored ones.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue May 23 20:43:07 2006

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.