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

[TSVN] New cache, now on trunk

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2005-01-27 10:21:27 CET


I did manage to get the new cache onto the trunk last night, and I believe
that the nightly build included it.

HOWEVER, I haven't changed the install script, so although the TSVNCache
program is probably now sitting on Russell's build machine, it's not in the
.MSI file.

For people who can build it themselves, you will need to add the following
registry items to try it out:

HKLM\Software\TortoiseSVN\CachePath - A string, pointing to the full path
of the TSVNCache.EXE file. (This step should be done by the installer, I

HKCU\Software\TortoiseSVN\ExternalCache - A DWORD, set to zero to disable
the external cache (default), or non-zero to enable it.

You can change this value at any time, and its effect will be almost instant.

There are an number of problems with the new cache at the moment, some of
the ones I know about are:

1. It applies itself to every folder you browse to (network, etc),
regardless of your settings. This might well cause Explorer to appear to
hang on a slow
network share.

2. When asked for the status of a folder, it always tries to return
recursive status. This might be appropriate for icon overlays, but isn't
for some other places, like the context menu. For example, if you have an
unversioned folder which contains the top of a WC, you will currently find
that you can't right-click and do a checkout, because the shell extension
thinks that you're in a WC. If you need to do this, you'll have to turn
off the ExternalCache value in the registry. I'm going to enhance the IPC
link between the shell and the cache to deal with this.

3. I am very focused on 'correctness' at this stage, and have not tried
very hard to optimise things in the code. You might well find that the
performance is poor.

Could I ask that people don't commit changes to the cache code at the
moment without letting me know first, as I am still making changes at a
scale which can lead to conflicts.

Stefan, could I grovel and ask you to do the WiX changes to add the new
.EXE and its HKLM registry key?



To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 27 10:22:45 2005

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