[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: Jody Shumaker <jody.shumaker_at_gmail.com>
Date: 2006-05-23 20:50:58 CEST

> > 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.
>
> Stefan
>
>

So you mean when I have DirA\DirB\FileA.txt Where DirA is under
version control, and has svn:ignore set for DirB. While DirB is not
under version control. Even with this feature TSVNCache.exe would
still end up with a file handle on FileA.txt that with the right
timing prevents its deletion? This is the problem I ran into, and was
a little confused as to why Subversion or TSVN would ever need to open
a handle on a file in an unversioned directory. Does it only list the
existence of the file as unversioned, which it'd get from the
directory listing?

- Jody

---------------------------------------------------------------------
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:51:27 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.