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

Re: Some WC improvements

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-07-30 15:20:32 CEST

"Peter N. Lundblad" <peter@famlundblad.se> writes:

> I want to do the following things:
> - Store a flag in the entries file indicating whether there are any
> property modifications to this entry.
> - Not store any props file if there are no property modifications
> (use the prop-base instead).
> - Cache the presence of svn:special and svn:needs-lock properties
> in the entries file. (And possibly other svn: props if that makes any
> speed difference.)

Good stuff!

I'm not sure whether you are also planning:

  - No prop-base file if there are no properties.

but I'd encourage you to do it. At present items that don't have
properties still have a prop-base file, at one inode and disk block
per file that's quite a penalty for a feature that's not being used.

> How to do this:
> These changes require a WC format bump. We need to keep the old code
> for old WCs, since we can't always upgrade to a new format. I'm not
> even sure its worth the trouble to upgrade old WCs.

The last WC upgrade happenend automatically on the first time WC
operation with a write lock, I think you should do the same.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 30 15:21:20 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.