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

Re: Bug: "svnadmin dump --incremental --deltas" gives too much output

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Tue, 6 Jan 2009 23:00:40 +0100

On 2009-01-06 11:20:20 -0500, C. Michael Pilato wrote:
> I've been sitting on this thread for a looooooooong time. Still no time to
> really invest here, but I filed issue #3353 so we don't lose this discussion
> forever.

This is not just a documentation bug: with --incremental --deltas,
I get a delta on the changed files only (as expected), but the delta
is too big: it contains a lot of text that hasn't changed. The problem
is much more important in the latest revisions than in the first ones.

for i in `svn log -v file:///home/vlefevre/private/svn-mpfr/trunk/ChangeLog | sed -n -e 's/^r\([0-9]\+\).*/\1/p'`
do
  svnadmin dump --incremental --deltas ~/private/svn-mpfr -r$i | wc -c
  svn diff -c$i file:///home/vlefevre/private/svn-mpfr | wc -c
done

* Dumped revision 5629.
988544
222754
* Dumped revision 4743.
298218
38373
* Dumped revision 4605.
586864
1655916
* Dumped revision 3888.
6099
1805
* Dumped revision 3876.
9209
2590
* Dumped revision 3856.
8452
2459
* Dumped revision 3832.
3233
1086
* Dumped revision 3824.
3833
1143
* Dumped revision 3817.
3003
1118
* Dumped revision 3809.
711
621
* Dumped revision 3808.
2678
903
* Dumped revision 3797.
22692
6214
* Dumped revision 3736.
2454
795
* Dumped revision 3733.
839
445
* Dumped revision 3731.
1905
692
* Dumped revision 3728.
12874
3583
* Dumped revision 3694.
2862
1382
* Dumped revision 3689.
77445
20915
* Dumped revision 3538.
13254
4084
* Dumped revision 3514.
14255
4267
* Dumped revision 3474.
58842
16535
* Dumped revision 3334.
23795
6400
* Dumped revision 3324.
17981
40983
* Dumped revision 3279.
40355
10886
* Dumped revision 3213.
65816
17591
* Dumped revision 3062.
7707
2112
* Dumped revision 3054.
12311
3400
* Dumped revision 3030.
21741
7690
* Dumped revision 2967.
54113
19199
* Dumped revision 2791.
47266
16847
* Dumped revision 2664.
75584
27850
* Dumped revision 2503.
23798
9079
* Dumped revision 2450.
56143
20707
* Dumped revision 2302.
47004
22993
* Dumped revision 2124.
7338
4038
* Dumped revision 2085.
15879
8530
* Dumped revision 2004.
6094
3210
* Dumped revision 1982.
4245
2465
* Dumped revision 1956.
2654
1457
* Dumped revision 1946.
16333
9101
* Dumped revision 1942.
766
390
* Dumped revision 1884.
931
520
* Dumped revision 1881.
4898
3590
* Dumped revision 1870.
1045
589
* Dumped revision 1867.
1075
581
* Dumped revision 1864.
1712
967
* Dumped revision 1854.
1647
1142
* Dumped revision 1845.
1333
862
* Dumped revision 1842.
2525
1457
* Dumped revision 1830.
917
1187
* Dumped revision 1826.
1983
1215
* Dumped revision 1824.
6770
4210
* Dumped revision 1810.
1277
688
* Dumped revision 1806.
1375
799
* Dumped revision 1799.
877
506
* Dumped revision 1796.
54941
158127
* Dumped revision 665.
14277
26668

Revisions 665 and 4605 are a bit special. It seems that the result on
revision 1796 is due to compression by "svnadmin dump". I also wonder
why sometimes text is compressed, sometimes it isn't.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Received on 2009-01-06 23:01:03 CET

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