##// END OF EJS Templates
merge with stable
Gregory Szorc -
r41965:5f198b69 merge default
parent child Browse files
Show More
@@ -1,1 +1,1 b''
1 fe0d0bb5979de50f4fed71bb9437764d
1 cb1e67ae6b17ba66dd455f9782692f4a
@@ -118,7 +118,7 b' def run(target):'
118 hg('merge', 'min(head())')
118 hg('merge', 'min(head())')
119 updatefile(FILENAME, idx)
119 updatefile(FILENAME, idx)
120 hg('commit', '--message', 'commit #%d' % idx)
120 hg('commit', '--message', 'commit #%d' % idx)
121 hg('bundle', '--all', target)
121 hg('bundle', '--all', target, '--config', 'devel.bundle.delta=p1')
122 with open(target, 'rb') as bundle:
122 with open(target, 'rb') as bundle:
123 data = bundle.read()
123 data = bundle.read()
124 digest = hashlib.md5(data).hexdigest()
124 digest = hashlib.md5(data).hexdigest()
@@ -28,6 +28,8 b' repeatedly while some of it changes rare'
28 > maxchainlen = 15
28 > maxchainlen = 15
29 > [storage]
29 > [storage]
30 > revlog.optimize-delta-parent-choice = yes
30 > revlog.optimize-delta-parent-choice = yes
31 > [format]
32 > generaldelta = yes
31 > EOF
33 > EOF
32 $ hg init sparse-repo
34 $ hg init sparse-repo
33 $ cd sparse-repo
35 $ cd sparse-repo
@@ -78,7 +80,7 b' repeatedly while some of it changes rare'
78
80
79
81
80 $ f -s .hg/store/data/*.d
82 $ f -s .hg/store/data/*.d
81 .hg/store/data/_s_p_a_r_s_e-_r_e_v_l_o_g-_t_e_s_t-_f_i_l_e.d: size=63002924
83 .hg/store/data/_s_p_a_r_s_e-_r_e_v_l_o_g-_t_e_s_t-_f_i_l_e.d: size=63327412
82 $ hg debugrevlog *
84 $ hg debugrevlog *
83 format : 1
85 format : 1
84 flags : generaldelta
86 flags : generaldelta
@@ -90,45 +92,45 b' repeatedly while some of it changes rare'
90 empty : 0 ( 0.00%)
92 empty : 0 ( 0.00%)
91 text : 0 (100.00%)
93 text : 0 (100.00%)
92 delta : 0 (100.00%)
94 delta : 0 (100.00%)
93 snapshot : 374 ( 7.48%)
95 snapshot : 383 ( 7.66%)
94 lvl-0 : 4 ( 0.08%)
96 lvl-0 : 3 ( 0.06%)
95 lvl-1 : 23 ( 0.46%)
97 lvl-1 : 20 ( 0.40%)
96 lvl-2 : 63 ( 1.26%)
98 lvl-2 : 68 ( 1.36%)
97 lvl-3 : 118 ( 2.36%)
99 lvl-3 : 112 ( 2.24%)
98 lvl-4 : 166 ( 3.32%)
100 lvl-4 : 180 ( 3.60%)
99 deltas : 4627 (92.52%)
101 deltas : 4618 (92.34%)
100 revision size : 63002924
102 revision size : 63327412
101 snapshot : 9888099 (15.69%)
103 snapshot : 9886710 (15.61%)
102 lvl-0 : 804262 ( 1.28%)
104 lvl-0 : 603104 ( 0.95%)
103 lvl-1 : 1561380 ( 2.48%)
105 lvl-1 : 1559991 ( 2.46%)
104 lvl-2 : 2096696 ( 3.33%)
106 lvl-2 : 2295592 ( 3.62%)
105 lvl-3 : 2749539 ( 4.36%)
107 lvl-3 : 2531199 ( 4.00%)
106 lvl-4 : 2676222 ( 4.25%)
108 lvl-4 : 2896824 ( 4.57%)
107 deltas : 53114825 (84.31%)
109 deltas : 53440702 (84.39%)
108
110
109 chunks : 5001
111 chunks : 5001
110 0x78 (x) : 5001 (100.00%)
112 0x78 (x) : 5001 (100.00%)
111 chunks size : 63002924
113 chunks size : 63327412
112 0x78 (x) : 63002924 (100.00%)
114 0x78 (x) : 63327412 (100.00%)
113
115
114 avg chain length : 9
116 avg chain length : 9
115 max chain length : 15
117 max chain length : 15
116 max chain reach : 28907121
118 max chain reach : 28248745
117 compression ratio : 27
119 compression ratio : 27
118
120
119 uncompressed data size (min/max/avg) : 346468 / 346472 / 346471
121 uncompressed data size (min/max/avg) : 346468 / 346472 / 346471
120 full revision size (min/max/avg) : 201008 / 201141 / 201065
122 full revision size (min/max/avg) : 201008 / 201050 / 201034
121 inter-snapshot size (min/max/avg) : 11601 / 157413 / 24550
123 inter-snapshot size (min/max/avg) : 11596 / 168150 / 24430
122 level-1 (min/max/avg) : 13061 / 157413 / 67886
124 level-1 (min/max/avg) : 16653 / 168150 / 77999
123 level-2 (min/max/avg) : 11674 / 85631 / 33280
125 level-2 (min/max/avg) : 12951 / 85595 / 33758
124 level-3 (min/max/avg) : 11602 / 42957 / 23301
126 level-3 (min/max/avg) : 11608 / 43029 / 22599
125 level-4 (min/max/avg) : 11601 / 21475 / 16121
127 level-4 (min/max/avg) : 11596 / 21632 / 16093
126 delta size (min/max/avg) : 10649 / 105465 / 11479
128 delta size (min/max/avg) : 10649 / 107163 / 11572
127
129
128 deltas against prev : 3966 (85.71%)
130 deltas against prev : 3910 (84.67%)
129 where prev = p1 : 3922 (98.89%)
131 where prev = p1 : 3910 (100.00%)
130 where prev = p2 : 0 ( 0.00%)
132 where prev = p2 : 0 ( 0.00%)
131 other : 44 ( 1.11%)
133 other : 0 ( 0.00%)
132 deltas against p1 : 611 (13.21%)
134 deltas against p1 : 648 (14.03%)
133 deltas against p2 : 50 ( 1.08%)
135 deltas against p2 : 60 ( 1.30%)
134 deltas against other : 0 ( 0.00%)
136 deltas against other : 0 ( 0.00%)
General Comments 0
You need to be logged in to leave comments. Login now