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

Re: TSVNCache.exe opens filehandles

From: Kevin Grover <kogrover_at_yahoo.com>
Date: 2006-07-21 00:40:18 CEST

Actually, it probably won't matter. I've discovered that tsvncache latches onto drives that I've never used an SVN command on (either via Explorer or cmd). This makes sense (because it's a shell extension, so if I access a directory through Exporer, tsvncache 'sees' the path).

It would be nice to have a TSVN Shell option to 'Flush' the TSVN cache (perhaps selectable on an advanced tab so as to no confuse others) so it would clear all cached handles. That way I could cleanly unmount drives or delete directories, which open handles in tsvncache prevent, without just killing the processes. Or, the TSVN Flush command could popup a window allowing me to select drive and/or subdirectories to flush --- maybe that's overkill....

- Kevin

----- Original Message ----
From: Dave Lawrence <dlawrence@ad-holdings.co.uk>
To: users@tortoisesvn.tigris.org
Sent: Thursday, July 20, 2006 9:24:16 AM
Subject: Re: TSVNCache.exe opens filehandles

I have a solution for my particular instance of this problem.
My scripts go:
checkout, modify version number & flag release, build, tag,
checkin version number (release unflagged), checkin binary.

So, the working copy they create need never be accessable to TSVN. So
I set in the script, a LOCAL environment variable SVN_ASP_DOT_NET_HACK.

Then the command line tools will use _svn directories, while TSVN
still only understands .svn, so the two never interfere.

Not a solution to the original question (USB drives) but for anyone who
has file handle issues like mine I thought I'd share it...

Kevin Grover wrote:
> Perhpas the TSVN crew could add an option to TSVNCache to have it dump all filehandles?
>
> This could even be callable from the commandline
>
> c:\src\fuzzle> tsvncache --disable
> .... do some command line work here ...
> c:\src\fuzzle> tsvncache --enable

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jul 21 00:40:26 2006

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.