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

Re: Bigger --deltas dump with 1.7.5 than with 1.6.17

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 19 Jun 2012 19:41:51 +0300

I assume that the binary svndiff chunks are different, right?
Otherwise, one of the two dumpfiles should fail to load.

Vincent Lefevre wrote on Tue, Jun 19, 2012 at 18:04:28 +0200:
> After comparing two dumps of the same repository, one obtained
> with Subversion 1.6.17 and one obtained with 1.7.5, both with
> --incremental --deltas (both from revision 0, but not with the
> same upper revision), I've noticed two changes:
>
> 1. The properties are reordered (that was expected after the change
> in libapr).
>
> 2. Text content is sometimes larger with 1.7.5. For instance:
>
> Text-delta: true
> Text-delta-base-md5: 6c17738e070af8b69a4814ddc7484f69
> Text-delta-base-sha1: ccbb2233b14ee51093a0c0bd08bc26ba1e88ee46
> -Text-content-length: 7307
> +Text-content-length: 7336
> Text-content-md5: 6afa974df763d6384836d45ee610e77c
> Text-content-sha1: 9c65c4ab034d21fcf355ff4bc0b1a0c2d12f2fb1
> -Content-length: 7307
> +Content-length: 7336
>
> Text-delta: true
> Text-delta-base-md5: 26671cc408dcbaedd8dfe5accdf09b7c
> Text-delta-base-sha1: 710a2c42023a8790ab7a3ffc174d56c80f8786ff
> -Text-content-length: 222
> +Text-content-length: 249
> Text-content-md5: fd1b691b409a21a510a7fc8820e6a2f6
> Text-content-sha1: 5e84be2aba06eae484a768aaead6daee7200d291
> -Content-length: 222
> +Content-length: 249
>
> Text-delta: true
> Text-delta-base-md5: aaa49b3db570ca4b32159a12b6e709ba
> Text-delta-base-sha1: 109c4b08e10c89d19fad502438e25a2bb741d355
> -Text-content-length: 250
> +Text-content-length: 360
> Text-content-md5: 09b80c313b0acfb236cddb3136809f55
> Text-content-sha1: 6a099150f1a77f737b31820da9e5430bb2db5bac
> -Content-length: 250
> +Content-length: 360
>
> and so on. Is there any reason? Has a bug been introduced?
> While I could except the opposite after an improvement of the
> compression algorithm, a bigger dump is rather surprising.
>
> --
> Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Received on 2012-06-19 21:13:10 CEST

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.