You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Vincent Lefevre <vi...@vinc17.net> on 2013/01/23 15:43:19 UTC

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

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 <vi...@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)