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

Re: Re: Open file handles of TSVNCache prevent deletion of directories

From: <Simon.Lux_at_etas.de>
Date: 2006-05-22 17:50:47 CEST

Stefan Küng <tortoisesvn@gmail.com> wrote on 22.05.2006 17:37:19:
> Simon.Lux@etas.de wrote:
> > Hi,
> > TSVNCache keeps open file handles to directories that do not contain
any
> > file that is under version control of SVN. Thus the directories can not
be
> > deleted.
>
> That's how the cache works: it keeps a directory watcher handle open to
> monitor file system changes. Without this, it wouldn't know when to
> check the status again and would always be out-of-date.

That's ok for the root directory but not for subdirectories with no SVN
files at all.
My current use case is a build process which deletes some directories
before rebuilding the application.
The open file handles to the subdirectories let the build process fail.

MfG
Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon May 22 17:50:58 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.