[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: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Wed, 23 Jan 2013 15:43:19 +0100

On 2012-06-20 02:48:23 +0200, Vincent Lefevre wrote:
> On 2012-06-19 19:41:51 +0300, Daniel Shahaf wrote:
> > I assume that the binary svndiff chunks are different, right?
>
> Yes, the binary svndiff chunks are different and have the declared
> size. But why is 1.6.17 better than 1.7.5?

In fact, after testing on another reprository, the difference doesn't
come from the client version, but from which version has created the
repository. Example:

$ svnadmin dump ~svn/root.bak --incremental --deltas -r0:16 > dump1
$ svnadmin create tmprep
$ svnadmin load --force-uuid tmprep < dump1
$ svnadmin dump tmprep --incremental --deltas -r0:16 > dump2
$ ls -l dump?
-rw-r--r-- 1 vinc17 vinc17 1118461 2013-01-23 15:37:58 dump1
-rw-r--r-- 1 vinc17 vinc17 1118490 2013-01-23 15:38:31 dump2
$ diff -a -u dump?
--- dump1 2013-01-23 15:37:58.000000000 +0100
+++ dump2 2013-01-23 15:38:31.000000000 +0100
@@ -37613,12 +37613,12 @@
 Text-delta: true
 Text-delta-base-md5: c2ce1c228d464a37bf8c440eb1dff95a
 Text-delta-base-sha1: 3fa18fdd2b987c96c5a62c97b97be89db2c58fe9
-Text-content-length: 11066
+Text-content-length: 11095
 Text-content-md5: 6c17738e070af8b69a4814ddc7484f69
 Text-content-sha1: ccbb2233b14ee51093a0c0bd08bc26ba1e88ee46
-Content-length: 11066
+Content-length: 11095
[...]

-- 
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 2013-01-23 15:43:58 CET

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.