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

Compressed text-base patch

From: Eric Dorland <eric.dorland_at_mail.mcgill.ca>
Date: 2003-04-28 01:29:39 CEST

Hi all,

After a few weeks of work on and off, here's my first stab at a
compressed text-base patch. First the major disclaimer is that
commits don't work. I can't seem to figure why it's not working, and
I'm hoping someone with a better knowledge of svn's internals might be
able to figure it out. Basically there's some interaction with the
compressed text-base and the calculating of the text delta. Again, if
one of the guru's could apply this patch and help me it would be much

Otherwise the patch is still a bit rough around the edges, but seems
pretty functional, except of course for commits. It doesn't pass the
test suite of course, but there may be some assumptions the tests make
that aren't true with the compressed text-base. Comments and
criticisms are most welcome (although I know the code needs more
comments, so no need to remind me :). One other proviso is that
although the compressed files have the extension ".gz" they're not
actually gzip files, they're zlib streams, so gzip won't work on
them. I'll probably fix that soon.

To enable this code you need to ./configure with --with-zlib of
course, and add compress-text-base = yes in the [miscellany] section
of your .subversion/config file. Thanks all, I look forward to your
comments and, hopefully, your bug fixes :)

Eric Dorland <eric.dorland@mail.mcgill.ca>
ICQ: #61138586, Jabber: hooty@jabber.com
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 

  • application/pgp-signature attachment: stored
Received on Mon Apr 28 01:32:49 2003

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.