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

Re: [PATCH]: Stop putting stuff in empty props files

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-10-20 20:32:34 CEST

Daniel Berlin <dberlin@dberlin.org> writes:

> On gcc checkouts, empty prop files with just the word END in them take
> up roughly 250 meg of space.

That's a known problem, one possible solution is described in
notes/wc-improvements. Implementation has got as far as creating a
wc-propcaching branch

> I'm not joking.
>
> This is simple to fix, however. We just need to start using hash_write2
> with a NULL terminator in the wc code, to make them completely empty,
> instead of using the old hash_read/hash_write.

You are relying on an empty file not allocating a single disk block,
yes? That sounds like a reasonable optimisation.

> However, this is not backwards compatible with hash_read.
>
> I would really want to be able to get this into 1.3.x somehow, since
> this is a very very big issue for gcc (it takes our working copy size
> from 960 meg to 620, while cvs is 340).

You might be disappointed, last time I looked at the test gcc
repository it used both svn:ignore and svn:eol-style, there was only
one item with no properties.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 20 21:08:35 2005

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