Show More
@@ -1375,7 +1375,7 b' coreconfigitem(' | |||||
1375 | coreconfigitem( |
|
1375 | coreconfigitem( | |
1376 | b'format', |
|
1376 | b'format', | |
1377 | b'use-share-safe', |
|
1377 | b'use-share-safe', | |
1378 |
default= |
|
1378 | default=True, | |
1379 | ) |
|
1379 | ) | |
1380 | coreconfigitem( |
|
1380 | coreconfigitem( | |
1381 | b'format', |
|
1381 | b'format', |
@@ -998,7 +998,7 b' https://www.mercurial-scm.org/wiki/Missi' | |||||
998 |
|
998 | |||
999 | Introduced in Mercurial 5.7. |
|
999 | Introduced in Mercurial 5.7. | |
1000 |
|
1000 | |||
1001 |
|
|
1001 | Enabled by default in Mercurial 6.1. | |
1002 |
|
1002 | |||
1003 | ``usestore`` |
|
1003 | ``usestore`` | |
1004 | Enable or disable the "store" repository format which improves |
|
1004 | Enable or disable the "store" repository format which improves |
@@ -243,7 +243,7 b' class sharesafe(requirementformatvariant' | |||||
243 | name = b'share-safe' |
|
243 | name = b'share-safe' | |
244 | _requirement = requirements.SHARESAFE_REQUIREMENT |
|
244 | _requirement = requirements.SHARESAFE_REQUIREMENT | |
245 |
|
245 | |||
246 |
default = |
|
246 | default = True | |
247 |
|
247 | |||
248 | description = _( |
|
248 | description = _( | |
249 | b'old shared repositories do not share source repository ' |
|
249 | b'old shared repositories do not share source repository ' |
@@ -4,7 +4,15 b'' | |||||
4 | == Default Format Change == |
|
4 | == Default Format Change == | |
5 |
|
5 | |||
6 | These changes affects newly created repositories (or new clone) done with |
|
6 | These changes affects newly created repositories (or new clone) done with | |
7 |
Mercurial |
|
7 | Mercurial 6.1. | |
|
8 | ||||
|
9 | The `share-safe` format variant is now enabled by default. It makes | |||
|
10 | configuration and requirements more consistent across repository and their | |||
|
11 | shares. This introduces a behavior change as shares from a repository using the | |||
|
12 | new format will also use their main repository's configuration. | |||
|
13 | ||||
|
14 | See `hg help config.format.use-share-safe` for details about the feature and | |||
|
15 | the available options for auto-upgrading existing shares. | |||
8 |
|
16 | |||
9 |
|
17 | |||
10 | == New Experimental Features == |
|
18 | == New Experimental Features == | |
@@ -29,6 +37,10 b' in conflicts while running `hg histedit`' | |||||
29 | "base", and "histedit". They are now "already edited", |
|
37 | "base", and "histedit". They are now "already edited", | |
30 | "parent of current change", and "current change", respectively. |
|
38 | "parent of current change", and "current change", respectively. | |
31 |
|
39 | |||
|
40 | The use of `share-safe`, means shares (of new repositories) will also use their | |||
|
41 | main repository's configuration see the `Default Format Change` section | |||
|
42 | for details. | |||
|
43 | ||||
32 | == Internal API Changes == |
|
44 | == Internal API Changes == | |
33 |
|
45 | |||
34 | The following functions have been removed: |
|
46 | The following functions have been removed: |
@@ -25,9 +25,10 b' Check the basic files created:' | |||||
25 | store |
|
25 | store | |
26 | wcache |
|
26 | wcache | |
27 |
|
27 | |||
28 | Should be empty: |
|
28 | Should be empty (except for the "basic" requires): | |
29 |
|
29 | |||
30 | $ ls .hg/store |
|
30 | $ ls .hg/store | |
|
31 | requires | |||
31 |
|
32 | |||
32 | Poke at a clone: |
|
33 | Poke at a clone: | |
33 |
|
34 | |||
@@ -51,8 +52,9 b' Poke at a clone:' | |||||
51 | store |
|
52 | store | |
52 | wcache |
|
53 | wcache | |
53 |
|
54 | |||
54 | Should be empty: |
|
55 | Should be empty (except for the "basic" requires): | |
55 |
|
56 | |||
56 | $ ls .hg/store |
|
57 | $ ls .hg/store | |
|
58 | requires | |||
57 |
|
59 | |||
58 |
$ |
|
60 | $ cd .. |
@@ -153,6 +153,7 b' Non fncache repo:' | |||||
153 | .hg/store/data/tst.d.hg |
|
153 | .hg/store/data/tst.d.hg | |
154 | .hg/store/data/tst.d.hg/_foo.i |
|
154 | .hg/store/data/tst.d.hg/_foo.i | |
155 | .hg/store/phaseroots |
|
155 | .hg/store/phaseroots | |
|
156 | .hg/store/requires | |||
156 | .hg/store/undo |
|
157 | .hg/store/undo | |
157 | .hg/store/undo.backupfiles |
|
158 | .hg/store/undo.backupfiles | |
158 | .hg/store/undo.phaseroots |
|
159 | .hg/store/undo.phaseroots |
@@ -52,6 +52,7 b' Prepare repo r1:' | |||||
52 | 1 r1/.hg/store/data/f1.i |
|
52 | 1 r1/.hg/store/data/f1.i | |
53 | 1 r1/.hg/store/fncache (repofncache !) |
|
53 | 1 r1/.hg/store/fncache (repofncache !) | |
54 | 1 r1/.hg/store/phaseroots |
|
54 | 1 r1/.hg/store/phaseroots | |
|
55 | 1 r1/.hg/store/requires | |||
55 | 1 r1/.hg/store/undo |
|
56 | 1 r1/.hg/store/undo | |
56 | 1 r1/.hg/store/undo.backup.fncache (repofncache !) |
|
57 | 1 r1/.hg/store/undo.backup.fncache (repofncache !) | |
57 | 1 r1/.hg/store/undo.backupfiles |
|
58 | 1 r1/.hg/store/undo.backupfiles | |
@@ -93,6 +94,7 b' Repos r1 and r2 should now contain hardl' | |||||
93 | 2 r1/.hg/store/data/f1.i |
|
94 | 2 r1/.hg/store/data/f1.i | |
94 | 1 r1/.hg/store/fncache (repofncache !) |
|
95 | 1 r1/.hg/store/fncache (repofncache !) | |
95 | 1 r1/.hg/store/phaseroots |
|
96 | 1 r1/.hg/store/phaseroots | |
|
97 | 1 r1/.hg/store/requires | |||
96 | 1 r1/.hg/store/undo |
|
98 | 1 r1/.hg/store/undo | |
97 | 1 r1/.hg/store/undo.backup.fncache (repofncache !) |
|
99 | 1 r1/.hg/store/undo.backup.fncache (repofncache !) | |
98 | 1 r1/.hg/store/undo.backupfiles |
|
100 | 1 r1/.hg/store/undo.backupfiles | |
@@ -104,6 +106,7 b' Repos r1 and r2 should now contain hardl' | |||||
104 | 2 r2/.hg/store/data/d1/f2.i |
|
106 | 2 r2/.hg/store/data/d1/f2.i | |
105 | 2 r2/.hg/store/data/f1.i |
|
107 | 2 r2/.hg/store/data/f1.i | |
106 | 1 r2/.hg/store/fncache (repofncache !) |
|
108 | 1 r2/.hg/store/fncache (repofncache !) | |
|
109 | 1 r2/.hg/store/requires | |||
107 |
|
110 | |||
108 | Repo r3 should not be hardlinked: |
|
111 | Repo r3 should not be hardlinked: | |
109 |
|
112 | |||
@@ -114,6 +117,7 b' Repo r3 should not be hardlinked:' | |||||
114 | 1 r3/.hg/store/data/f1.i |
|
117 | 1 r3/.hg/store/data/f1.i | |
115 | 1 r3/.hg/store/fncache (repofncache !) |
|
118 | 1 r3/.hg/store/fncache (repofncache !) | |
116 | 1 r3/.hg/store/phaseroots |
|
119 | 1 r3/.hg/store/phaseroots | |
|
120 | 1 r3/.hg/store/requires | |||
117 | 1 r3/.hg/store/undo |
|
121 | 1 r3/.hg/store/undo | |
118 | 1 r3/.hg/store/undo.backupfiles |
|
122 | 1 r3/.hg/store/undo.backupfiles | |
119 | 1 r3/.hg/store/undo.phaseroots |
|
123 | 1 r3/.hg/store/undo.phaseroots | |
@@ -140,6 +144,7 b' Create a non-inlined filelog in r3:' | |||||
140 | 1 r3/.hg/store/data/f1.i |
|
144 | 1 r3/.hg/store/data/f1.i | |
141 | 1 r3/.hg/store/fncache (repofncache !) |
|
145 | 1 r3/.hg/store/fncache (repofncache !) | |
142 | 1 r3/.hg/store/phaseroots |
|
146 | 1 r3/.hg/store/phaseroots | |
|
147 | 1 r3/.hg/store/requires | |||
143 | 1 r3/.hg/store/undo |
|
148 | 1 r3/.hg/store/undo | |
144 | 1 r3/.hg/store/undo.backup.fncache (repofncache !) |
|
149 | 1 r3/.hg/store/undo.backup.fncache (repofncache !) | |
145 | 1 r3/.hg/store/undo.backup.phaseroots |
|
150 | 1 r3/.hg/store/undo.backup.phaseroots | |
@@ -172,6 +177,7 b' Push to repo r1 should break up most har' | |||||
172 | 1 r2/.hg/store/data/d1/f2.i |
|
177 | 1 r2/.hg/store/data/d1/f2.i | |
173 | 2 r2/.hg/store/data/f1.i |
|
178 | 2 r2/.hg/store/data/f1.i | |
174 | [12] r2/\.hg/store/fncache (re) (repofncache !) |
|
179 | [12] r2/\.hg/store/fncache (re) (repofncache !) | |
|
180 | 1 r2/.hg/store/requires | |||
175 |
|
181 | |||
176 | #if hardlink-whitelisted repofncache |
|
182 | #if hardlink-whitelisted repofncache | |
177 | $ nlinksdir r2/.hg/store/fncache |
|
183 | $ nlinksdir r2/.hg/store/fncache | |
@@ -202,6 +208,7 b' Committing a change to f1 in r1 must bre' | |||||
202 | 1 r2/.hg/store/data/d1/f2.i |
|
208 | 1 r2/.hg/store/data/d1/f2.i | |
203 | 1 r2/.hg/store/data/f1.i |
|
209 | 1 r2/.hg/store/data/f1.i | |
204 | 1 r2/.hg/store/fncache (repofncache !) |
|
210 | 1 r2/.hg/store/fncache (repofncache !) | |
|
211 | 1 r2/.hg/store/requires | |||
205 |
|
212 | |||
206 | #if hardlink-whitelisted repofncache |
|
213 | #if hardlink-whitelisted repofncache | |
207 | $ nlinksdir r2/.hg/store/fncache |
|
214 | $ nlinksdir r2/.hg/store/fncache | |
@@ -261,6 +268,7 b' r4 has hardlinks in the working dir (not' | |||||
261 | 2 r4/.hg/store/data/f3.i |
|
268 | 2 r4/.hg/store/data/f3.i | |
262 | 2 r4/.hg/store/fncache (repofncache !) |
|
269 | 2 r4/.hg/store/fncache (repofncache !) | |
263 | 2 r4/.hg/store/phaseroots |
|
270 | 2 r4/.hg/store/phaseroots | |
|
271 | 2 r4/.hg/store/requires | |||
264 | 2 r4/.hg/store/undo |
|
272 | 2 r4/.hg/store/undo | |
265 | 2 r4/.hg/store/undo.backup.fncache (repofncache !) |
|
273 | 2 r4/.hg/store/undo.backup.fncache (repofncache !) | |
266 | 2 r4/.hg/store/undo.backup.phaseroots |
|
274 | 2 r4/.hg/store/undo.backup.phaseroots | |
@@ -318,6 +326,7 b' Update back to revision 12 in r4 should ' | |||||
318 | 2 r4/.hg/store/data/f3.i |
|
326 | 2 r4/.hg/store/data/f3.i | |
319 | 2 r4/.hg/store/fncache |
|
327 | 2 r4/.hg/store/fncache | |
320 | 2 r4/.hg/store/phaseroots |
|
328 | 2 r4/.hg/store/phaseroots | |
|
329 | 2 r4/.hg/store/requires | |||
321 | 2 r4/.hg/store/undo |
|
330 | 2 r4/.hg/store/undo | |
322 | 2 r4/.hg/store/undo.backup.fncache (repofncache !) |
|
331 | 2 r4/.hg/store/undo.backup.fncache (repofncache !) | |
323 | 2 r4/.hg/store/undo.backup.phaseroots |
|
332 | 2 r4/.hg/store/undo.backup.phaseroots |
@@ -464,6 +464,7 b' more there after' | |||||
464 | fncache (repofncache !) |
|
464 | fncache (repofncache !) | |
465 | journal.phaseroots |
|
465 | journal.phaseroots | |
466 | phaseroots |
|
466 | phaseroots | |
|
467 | requires | |||
467 | undo |
|
468 | undo | |
468 | undo.backup.fncache (repofncache !) |
|
469 | undo.backup.fncache (repofncache !) | |
469 | undo.backupfiles |
|
470 | undo.backupfiles |
@@ -54,6 +54,7 b' store is setgid' | |||||
54 | 00770 ./.hg/cache/ |
|
54 | 00770 ./.hg/cache/ | |
55 | 00600 ./.hg/requires |
|
55 | 00600 ./.hg/requires | |
56 | 00770 ./.hg/store/ |
|
56 | 00770 ./.hg/store/ | |
|
57 | 00600 ./.hg/store/requires | |||
57 | 00770 ./.hg/wcache/ |
|
58 | 00770 ./.hg/wcache/ | |
58 |
|
59 | |||
59 | $ mkdir dir |
|
60 | $ mkdir dir | |
@@ -92,6 +93,7 b' new directories are setgid' | |||||
92 | 00660 ./.hg/store/data/foo/index (reposimplestore !) |
|
93 | 00660 ./.hg/store/data/foo/index (reposimplestore !) | |
93 | 00660 ./.hg/store/fncache (repofncache !) |
|
94 | 00660 ./.hg/store/fncache (repofncache !) | |
94 | 00660 ./.hg/store/phaseroots |
|
95 | 00660 ./.hg/store/phaseroots | |
|
96 | 00600 ./.hg/store/requires | |||
95 | 00660 ./.hg/store/undo |
|
97 | 00660 ./.hg/store/undo | |
96 | 00660 ./.hg/store/undo.backupfiles |
|
98 | 00660 ./.hg/store/undo.backupfiles | |
97 | 00660 ./.hg/store/undo.phaseroots |
|
99 | 00660 ./.hg/store/undo.phaseroots | |
@@ -121,6 +123,7 b' group can write everything' | |||||
121 | 00770 ../push/.hg/cache/ |
|
123 | 00770 ../push/.hg/cache/ | |
122 | 00660 ../push/.hg/requires |
|
124 | 00660 ../push/.hg/requires | |
123 | 00770 ../push/.hg/store/ |
|
125 | 00770 ../push/.hg/store/ | |
|
126 | 00660 ../push/.hg/store/requires | |||
124 | 00770 ../push/.hg/wcache/ |
|
127 | 00770 ../push/.hg/wcache/ | |
125 |
|
128 | |||
126 | $ umask 077 |
|
129 | $ umask 077 | |
@@ -152,6 +155,7 b' group can still write everything' | |||||
152 | 00660 ../push/.hg/store/data/foo/b80de5d138758541c5f05265ad144ab9fa86d1db (reposimplestore !) |
|
155 | 00660 ../push/.hg/store/data/foo/b80de5d138758541c5f05265ad144ab9fa86d1db (reposimplestore !) | |
153 | 00660 ../push/.hg/store/data/foo/index (reposimplestore !) |
|
156 | 00660 ../push/.hg/store/data/foo/index (reposimplestore !) | |
154 | 00660 ../push/.hg/store/fncache (repofncache !) |
|
157 | 00660 ../push/.hg/store/fncache (repofncache !) | |
|
158 | 00660 ../push/.hg/store/requires | |||
155 | 00660 ../push/.hg/store/undo |
|
159 | 00660 ../push/.hg/store/undo | |
156 | 00660 ../push/.hg/store/undo.backupfiles |
|
160 | 00660 ../push/.hg/store/undo.backupfiles | |
157 | 00660 ../push/.hg/store/undo.phaseroots |
|
161 | 00660 ../push/.hg/store/undo.phaseroots |
@@ -25,6 +25,7 b" creating 'local'" | |||||
25 | persistent-nodemap (rust !) |
|
25 | persistent-nodemap (rust !) | |
26 | revlog-compression-zstd (zstd !) |
|
26 | revlog-compression-zstd (zstd !) | |
27 | revlogv1 |
|
27 | revlogv1 | |
|
28 | share-safe | |||
28 | sparserevlog |
|
29 | sparserevlog | |
29 | store |
|
30 | store | |
30 | testonly-simplestore (reposimplestore !) |
|
31 | testonly-simplestore (reposimplestore !) | |
@@ -80,6 +81,7 b' creating repo with format.usefncache=fal' | |||||
80 | persistent-nodemap (rust !) |
|
81 | persistent-nodemap (rust !) | |
81 | revlog-compression-zstd (zstd !) |
|
82 | revlog-compression-zstd (zstd !) | |
82 | revlogv1 |
|
83 | revlogv1 | |
|
84 | share-safe | |||
83 | sparserevlog |
|
85 | sparserevlog | |
84 | store |
|
86 | store | |
85 | testonly-simplestore (reposimplestore !) |
|
87 | testonly-simplestore (reposimplestore !) | |
@@ -96,6 +98,7 b' creating repo with format.dotencode=fals' | |||||
96 | persistent-nodemap (rust !) |
|
98 | persistent-nodemap (rust !) | |
97 | revlog-compression-zstd (zstd !) |
|
99 | revlog-compression-zstd (zstd !) | |
98 | revlogv1 |
|
100 | revlogv1 | |
|
101 | share-safe | |||
99 | sparserevlog |
|
102 | sparserevlog | |
100 | store |
|
103 | store | |
101 | testonly-simplestore (reposimplestore !) |
|
104 | testonly-simplestore (reposimplestore !) | |
@@ -112,6 +115,7 b' creating repo with format.dotencode=fals' | |||||
112 | persistent-nodemap (rust !) |
|
115 | persistent-nodemap (rust !) | |
113 | revlog-compression-zstd (zstd !) |
|
116 | revlog-compression-zstd (zstd !) | |
114 | revlogv1 |
|
117 | revlogv1 | |
|
118 | share-safe | |||
115 | store |
|
119 | store | |
116 | testonly-simplestore (reposimplestore !) |
|
120 | testonly-simplestore (reposimplestore !) | |
117 |
|
121 | |||
@@ -232,6 +236,7 b" creating 'local/sub/repo'" | |||||
232 | persistent-nodemap (rust !) |
|
236 | persistent-nodemap (rust !) | |
233 | revlog-compression-zstd (zstd !) |
|
237 | revlog-compression-zstd (zstd !) | |
234 | revlogv1 |
|
238 | revlogv1 | |
|
239 | share-safe | |||
235 | sparserevlog |
|
240 | sparserevlog | |
236 | store |
|
241 | store | |
237 | testonly-simplestore (reposimplestore !) |
|
242 | testonly-simplestore (reposimplestore !) | |
@@ -255,6 +260,7 b' init should (for consistency with clone)' | |||||
255 | persistent-nodemap (rust !) |
|
260 | persistent-nodemap (rust !) | |
256 | revlog-compression-zstd (zstd !) |
|
261 | revlog-compression-zstd (zstd !) | |
257 | revlogv1 |
|
262 | revlogv1 | |
|
263 | share-safe | |||
258 | sparserevlog |
|
264 | sparserevlog | |
259 | store |
|
265 | store | |
260 | testonly-simplestore (reposimplestore !) |
|
266 | testonly-simplestore (reposimplestore !) | |
@@ -274,6 +280,7 b' verify that clone also expand urls' | |||||
274 | persistent-nodemap (rust !) |
|
280 | persistent-nodemap (rust !) | |
275 | revlog-compression-zstd (zstd !) |
|
281 | revlog-compression-zstd (zstd !) | |
276 | revlogv1 |
|
282 | revlogv1 | |
|
283 | share-safe | |||
277 | sparserevlog |
|
284 | sparserevlog | |
278 | store |
|
285 | store | |
279 | testonly-simplestore (reposimplestore !) |
|
286 | testonly-simplestore (reposimplestore !) |
@@ -103,6 +103,7 b' Test link+rename largefile codepath' | |||||
103 | persistent-nodemap (rust !) |
|
103 | persistent-nodemap (rust !) | |
104 | revlog-compression-zstd (zstd !) |
|
104 | revlog-compression-zstd (zstd !) | |
105 | revlogv1 |
|
105 | revlogv1 | |
|
106 | share-safe | |||
106 | sparserevlog |
|
107 | sparserevlog | |
107 | store |
|
108 | store | |
108 | testonly-simplestore (reposimplestore !) |
|
109 | testonly-simplestore (reposimplestore !) |
@@ -30,6 +30,7 b' narrow clone a file, f10' | |||||
30 | persistent-nodemap (rust !) |
|
30 | persistent-nodemap (rust !) | |
31 | revlog-compression-zstd (zstd !) |
|
31 | revlog-compression-zstd (zstd !) | |
32 | revlogv1 |
|
32 | revlogv1 | |
|
33 | share-safe | |||
33 | sparserevlog |
|
34 | sparserevlog | |
34 | store |
|
35 | store | |
35 | testonly-simplestore (reposimplestore !) |
|
36 | testonly-simplestore (reposimplestore !) |
@@ -72,6 +72,7 b' Making sure we have the correct set of r' | |||||
72 | persistent-nodemap (rust !) |
|
72 | persistent-nodemap (rust !) | |
73 | revlog-compression-zstd (zstd !) |
|
73 | revlog-compression-zstd (zstd !) | |
74 | revlogv1 |
|
74 | revlogv1 | |
|
75 | share-safe | |||
75 | sparserevlog |
|
76 | sparserevlog | |
76 | store |
|
77 | store | |
77 | treemanifest (tree !) |
|
78 | treemanifest (tree !) | |
@@ -86,6 +87,7 b' Making sure store has the required files' | |||||
86 | fncache (flat-fncache !) |
|
87 | fncache (flat-fncache !) | |
87 | meta (tree !) |
|
88 | meta (tree !) | |
88 | narrowspec |
|
89 | narrowspec | |
|
90 | requires | |||
89 | undo |
|
91 | undo | |
90 | undo.backupfiles |
|
92 | undo.backupfiles | |
91 | undo.narrowspec |
|
93 | undo.narrowspec |
@@ -46,6 +46,7 b' narrow clone a file, f10' | |||||
46 | persistent-nodemap (rust !) |
|
46 | persistent-nodemap (rust !) | |
47 | revlog-compression-zstd (zstd !) |
|
47 | revlog-compression-zstd (zstd !) | |
48 | revlogv1 |
|
48 | revlogv1 | |
|
49 | share-safe | |||
49 | sparserevlog |
|
50 | sparserevlog | |
50 | store |
|
51 | store | |
51 | testonly-simplestore (reposimplestore !) |
|
52 | testonly-simplestore (reposimplestore !) |
@@ -65,6 +65,7 b' XXX: we should have a flag in `hg debugs' | |||||
65 | persistent-nodemap (rust !) |
|
65 | persistent-nodemap (rust !) | |
66 | revlog-compression-zstd (zstd !) |
|
66 | revlog-compression-zstd (zstd !) | |
67 | revlogv1 |
|
67 | revlogv1 | |
|
68 | share-safe | |||
68 | sparserevlog |
|
69 | sparserevlog | |
69 | store |
|
70 | store | |
70 | treemanifest (tree !) |
|
71 | treemanifest (tree !) |
@@ -784,7 +784,7 b' downgrading' | |||||
784 | dirstate-v2: no no no |
|
784 | dirstate-v2: no no no | |
785 | dotencode: yes yes yes |
|
785 | dotencode: yes yes yes | |
786 | generaldelta: yes yes yes |
|
786 | generaldelta: yes yes yes | |
787 |
share-safe: yes yes |
|
787 | share-safe: yes yes yes | |
788 | sparserevlog: yes yes yes |
|
788 | sparserevlog: yes yes yes | |
789 | persistent-nodemap: yes no no |
|
789 | persistent-nodemap: yes no no | |
790 | copies-sdc: no no no |
|
790 | copies-sdc: no no no | |
@@ -828,7 +828,7 b' upgrading' | |||||
828 | dirstate-v2: no no no |
|
828 | dirstate-v2: no no no | |
829 | dotencode: yes yes yes |
|
829 | dotencode: yes yes yes | |
830 | generaldelta: yes yes yes |
|
830 | generaldelta: yes yes yes | |
831 |
share-safe: yes yes |
|
831 | share-safe: yes yes yes | |
832 | sparserevlog: yes yes yes |
|
832 | sparserevlog: yes yes yes | |
833 | persistent-nodemap: no yes no |
|
833 | persistent-nodemap: no yes no | |
834 | copies-sdc: no no no |
|
834 | copies-sdc: no no no |
@@ -34,6 +34,7 b'' | |||||
34 | persistent-nodemap (rust !) |
|
34 | persistent-nodemap (rust !) | |
35 | revlog-compression-zstd (zstd !) |
|
35 | revlog-compression-zstd (zstd !) | |
36 | revlogv1 |
|
36 | revlogv1 | |
|
37 | share-safe | |||
37 | sparserevlog |
|
38 | sparserevlog | |
38 | store |
|
39 | store | |
39 | treemanifest |
|
40 | treemanifest | |
@@ -78,6 +79,7 b'' | |||||
78 | persistent-nodemap (rust !) |
|
79 | persistent-nodemap (rust !) | |
79 | revlog-compression-zstd (zstd !) |
|
80 | revlog-compression-zstd (zstd !) | |
80 | revlogv1 |
|
81 | revlogv1 | |
|
82 | share-safe | |||
81 | sparserevlog |
|
83 | sparserevlog | |
82 | store |
|
84 | store | |
83 | treemanifest |
|
85 | treemanifest | |
@@ -122,6 +124,7 b'' | |||||
122 | persistent-nodemap (rust !) |
|
124 | persistent-nodemap (rust !) | |
123 | revlog-compression-zstd (zstd !) |
|
125 | revlog-compression-zstd (zstd !) | |
124 | revlogv1 |
|
126 | revlogv1 | |
|
127 | share-safe | |||
125 | sparserevlog |
|
128 | sparserevlog | |
126 | store |
|
129 | store | |
127 | treemanifest |
|
130 | treemanifest |
@@ -31,6 +31,7 b'' | |||||
31 | persistent-nodemap (rust !) |
|
31 | persistent-nodemap (rust !) | |
32 | revlog-compression-zstd (zstd !) |
|
32 | revlog-compression-zstd (zstd !) | |
33 | revlogv1 |
|
33 | revlogv1 | |
|
34 | share-safe | |||
34 | sparserevlog |
|
35 | sparserevlog | |
35 | store |
|
36 | store | |
36 |
|
37 | |||
@@ -68,6 +69,7 b'' | |||||
68 | persistent-nodemap (rust !) |
|
69 | persistent-nodemap (rust !) | |
69 | revlog-compression-zstd (zstd !) |
|
70 | revlog-compression-zstd (zstd !) | |
70 | revlogv1 |
|
71 | revlogv1 | |
|
72 | share-safe | |||
71 | sparserevlog |
|
73 | sparserevlog | |
72 | store |
|
74 | store | |
73 | $ ls .hg/store/data |
|
75 | $ ls .hg/store/data | |
@@ -120,5 +122,6 b' check its contents separately.' | |||||
120 | persistent-nodemap (rust !) |
|
122 | persistent-nodemap (rust !) | |
121 | revlog-compression-zstd (zstd !) |
|
123 | revlog-compression-zstd (zstd !) | |
122 | revlogv1 |
|
124 | revlogv1 | |
|
125 | share-safe | |||
123 | sparserevlog |
|
126 | sparserevlog | |
124 | store |
|
127 | store |
@@ -34,6 +34,7 b' Shallow clone from full' | |||||
34 | persistent-nodemap (rust !) |
|
34 | persistent-nodemap (rust !) | |
35 | revlog-compression-zstd (zstd !) |
|
35 | revlog-compression-zstd (zstd !) | |
36 | revlogv1 |
|
36 | revlogv1 | |
|
37 | share-safe | |||
37 | sparserevlog |
|
38 | sparserevlog | |
38 | store |
|
39 | store | |
39 |
|
40 |
@@ -57,6 +57,7 b' another repository of push/pull/clone on' | |||||
57 | persistent-nodemap (rust !) |
|
57 | persistent-nodemap (rust !) | |
58 | revlog-compression-zstd (zstd !) |
|
58 | revlog-compression-zstd (zstd !) | |
59 | revlogv1 |
|
59 | revlogv1 | |
|
60 | share-safe | |||
60 | sparserevlog |
|
61 | sparserevlog | |
61 | store |
|
62 | store | |
62 | $ hg -R supported status |
|
63 | $ hg -R supported status |
@@ -243,6 +243,7 b' Requirements' | |||||
243 | persistent-nodemap |
|
243 | persistent-nodemap | |
244 | revlog-compression-zstd (zstd !) |
|
244 | revlog-compression-zstd (zstd !) | |
245 | revlogv1 |
|
245 | revlogv1 | |
|
246 | share-safe | |||
246 | sparserevlog |
|
247 | sparserevlog | |
247 | store |
|
248 | store | |
248 |
|
249 |
@@ -24,6 +24,7 b' Enable sparse profile' | |||||
24 | persistent-nodemap (rust !) |
|
24 | persistent-nodemap (rust !) | |
25 | revlog-compression-zstd (zstd !) |
|
25 | revlog-compression-zstd (zstd !) | |
26 | revlogv1 |
|
26 | revlogv1 | |
|
27 | share-safe | |||
27 | sparserevlog |
|
28 | sparserevlog | |
28 | store |
|
29 | store | |
29 | testonly-simplestore (reposimplestore !) |
|
30 | testonly-simplestore (reposimplestore !) | |
@@ -45,6 +46,7 b' Requirement for sparse added when sparse' | |||||
45 | persistent-nodemap (rust !) |
|
46 | persistent-nodemap (rust !) | |
46 | revlog-compression-zstd (zstd !) |
|
47 | revlog-compression-zstd (zstd !) | |
47 | revlogv1 |
|
48 | revlogv1 | |
|
49 | share-safe | |||
48 | sparserevlog |
|
50 | sparserevlog | |
49 | store |
|
51 | store | |
50 | testonly-simplestore (reposimplestore !) |
|
52 | testonly-simplestore (reposimplestore !) | |
@@ -67,6 +69,7 b' Requirement for sparse is removed when s' | |||||
67 | persistent-nodemap (rust !) |
|
69 | persistent-nodemap (rust !) | |
68 | revlog-compression-zstd (zstd !) |
|
70 | revlog-compression-zstd (zstd !) | |
69 | revlogv1 |
|
71 | revlogv1 | |
|
72 | share-safe | |||
70 | sparserevlog |
|
73 | sparserevlog | |
71 | store |
|
74 | store | |
72 | testonly-simplestore (reposimplestore !) |
|
75 | testonly-simplestore (reposimplestore !) |
@@ -21,6 +21,7 b' New repo should not use SQLite by defaul' | |||||
21 | persistent-nodemap (rust !) |
|
21 | persistent-nodemap (rust !) | |
22 | revlog-compression-zstd (zstd !) |
|
22 | revlog-compression-zstd (zstd !) | |
23 | revlogv1 |
|
23 | revlogv1 | |
|
24 | share-safe | |||
24 | sparserevlog |
|
25 | sparserevlog | |
25 | store |
|
26 | store | |
26 |
|
27 | |||
@@ -38,6 +39,7 b' storage.new-repo-backend=sqlite is recog' | |||||
38 | persistent-nodemap (rust !) |
|
39 | persistent-nodemap (rust !) | |
39 | revlog-compression-zstd (zstd !) |
|
40 | revlog-compression-zstd (zstd !) | |
40 | revlogv1 |
|
41 | revlogv1 | |
|
42 | share-safe | |||
41 | sparserevlog |
|
43 | sparserevlog | |
42 | store |
|
44 | store | |
43 |
|
45 | |||
@@ -59,6 +61,7 b' Can force compression to zlib' | |||||
59 | persistent-nodemap (rust !) |
|
61 | persistent-nodemap (rust !) | |
60 | revlog-compression-zstd (zstd !) |
|
62 | revlog-compression-zstd (zstd !) | |
61 | revlogv1 |
|
63 | revlogv1 | |
|
64 | share-safe | |||
62 | sparserevlog |
|
65 | sparserevlog | |
63 | store |
|
66 | store | |
64 |
|
67 | |||
@@ -75,6 +78,7 b' Can force compression to none' | |||||
75 | persistent-nodemap (rust !) |
|
78 | persistent-nodemap (rust !) | |
76 | revlog-compression-zstd (zstd !) |
|
79 | revlog-compression-zstd (zstd !) | |
77 | revlogv1 |
|
80 | revlogv1 | |
|
81 | share-safe | |||
78 | sparserevlog |
|
82 | sparserevlog | |
79 | store |
|
83 | store | |
80 |
|
84 |
@@ -240,6 +240,7 b' List of files accessed over HTTP:' | |||||
240 | /.hg/store/data/a.i |
|
240 | /.hg/store/data/a.i | |
241 | /.hg/store/data/~2ehgsub.i (py37 !) |
|
241 | /.hg/store/data/~2ehgsub.i (py37 !) | |
242 | /.hg/store/data/~2ehgsubstate.i (py37 !) |
|
242 | /.hg/store/data/~2ehgsubstate.i (py37 !) | |
|
243 | /.hg/store/requires | |||
243 | /notarepo/.hg/00changelog.i |
|
244 | /notarepo/.hg/00changelog.i | |
244 | /notarepo/.hg/requires |
|
245 | /notarepo/.hg/requires | |
245 | /remote-with-names/.hg/bookmarks |
|
246 | /remote-with-names/.hg/bookmarks | |
@@ -255,6 +256,7 b' List of files accessed over HTTP:' | |||||
255 | /remote-with-names/.hg/store/data/%7E2ehgtags.i (no-py37 !) |
|
256 | /remote-with-names/.hg/store/data/%7E2ehgtags.i (no-py37 !) | |
256 | /remote-with-names/.hg/store/data/foo.i |
|
257 | /remote-with-names/.hg/store/data/foo.i | |
257 | /remote-with-names/.hg/store/data/~2ehgtags.i (py37 !) |
|
258 | /remote-with-names/.hg/store/data/~2ehgtags.i (py37 !) | |
|
259 | /remote-with-names/.hg/store/requires | |||
258 | /remote/.hg/bookmarks |
|
260 | /remote/.hg/bookmarks | |
259 | /remote/.hg/bookmarks.current |
|
261 | /remote/.hg/bookmarks.current | |
260 | /remote/.hg/cache/branch2-base |
|
262 | /remote/.hg/cache/branch2-base | |
@@ -274,12 +276,14 b' List of files accessed over HTTP:' | |||||
274 | /remote/.hg/store/data/quux.i |
|
276 | /remote/.hg/store/data/quux.i | |
275 | /remote/.hg/store/data/~2edotfile%20with%20spaces.i (py37 !) |
|
277 | /remote/.hg/store/data/~2edotfile%20with%20spaces.i (py37 !) | |
276 | /remote/.hg/store/data/~2ehgtags.i (py37 !) |
|
278 | /remote/.hg/store/data/~2ehgtags.i (py37 !) | |
|
279 | /remote/.hg/store/requires | |||
277 | /remotempty/.hg/bookmarks |
|
280 | /remotempty/.hg/bookmarks | |
278 | /remotempty/.hg/bookmarks.current |
|
281 | /remotempty/.hg/bookmarks.current | |
279 | /remotempty/.hg/dirstate |
|
282 | /remotempty/.hg/dirstate | |
280 | /remotempty/.hg/requires |
|
283 | /remotempty/.hg/requires | |
281 | /remotempty/.hg/store/00changelog.i |
|
284 | /remotempty/.hg/store/00changelog.i | |
282 | /remotempty/.hg/store/00manifest.i |
|
285 | /remotempty/.hg/store/00manifest.i | |
|
286 | /remotempty/.hg/store/requires | |||
283 | /sub/.hg/bookmarks |
|
287 | /sub/.hg/bookmarks | |
284 | /sub/.hg/bookmarks.current |
|
288 | /sub/.hg/bookmarks.current | |
285 | /sub/.hg/cache/hgtagsfnodes1 |
|
289 | /sub/.hg/cache/hgtagsfnodes1 | |
@@ -290,3 +294,4 b' List of files accessed over HTTP:' | |||||
290 | /sub/.hg/store/data/%7E2ehgtags.i (no-py37 !) |
|
294 | /sub/.hg/store/data/%7E2ehgtags.i (no-py37 !) | |
291 | /sub/.hg/store/data/test.i |
|
295 | /sub/.hg/store/data/test.i | |
292 | /sub/.hg/store/data/~2ehgtags.i (py37 !) |
|
296 | /sub/.hg/store/data/~2ehgtags.i (py37 !) | |
|
297 | /sub/.hg/store/requires |
@@ -60,7 +60,7 b' An upgrade of a repository created with ' | |||||
60 | dirstate-v2: no |
|
60 | dirstate-v2: no | |
61 | dotencode: yes |
|
61 | dotencode: yes | |
62 | generaldelta: yes |
|
62 | generaldelta: yes | |
63 |
share-safe: |
|
63 | share-safe: yes | |
64 | sparserevlog: yes |
|
64 | sparserevlog: yes | |
65 | persistent-nodemap: no (no-rust !) |
|
65 | persistent-nodemap: no (no-rust !) | |
66 | persistent-nodemap: yes (rust !) |
|
66 | persistent-nodemap: yes (rust !) | |
@@ -76,7 +76,7 b' An upgrade of a repository created with ' | |||||
76 | dirstate-v2: no no no |
|
76 | dirstate-v2: no no no | |
77 | dotencode: yes yes yes |
|
77 | dotencode: yes yes yes | |
78 | generaldelta: yes yes yes |
|
78 | generaldelta: yes yes yes | |
79 |
share-safe: |
|
79 | share-safe: yes yes yes | |
80 | sparserevlog: yes yes yes |
|
80 | sparserevlog: yes yes yes | |
81 | persistent-nodemap: no no no (no-rust !) |
|
81 | persistent-nodemap: no no no (no-rust !) | |
82 | persistent-nodemap: yes yes no (rust !) |
|
82 | persistent-nodemap: yes yes no (rust !) | |
@@ -93,7 +93,7 b' An upgrade of a repository created with ' | |||||
93 | dirstate-v2: no no no |
|
93 | dirstate-v2: no no no | |
94 | dotencode: yes no yes |
|
94 | dotencode: yes no yes | |
95 | generaldelta: yes yes yes |
|
95 | generaldelta: yes yes yes | |
96 |
share-safe: |
|
96 | share-safe: yes yes yes | |
97 | sparserevlog: yes yes yes |
|
97 | sparserevlog: yes yes yes | |
98 | persistent-nodemap: no no no (no-rust !) |
|
98 | persistent-nodemap: no no no (no-rust !) | |
99 | persistent-nodemap: yes yes no (rust !) |
|
99 | persistent-nodemap: yes yes no (rust !) | |
@@ -110,7 +110,7 b' An upgrade of a repository created with ' | |||||
110 | [formatvariant.name.uptodate|dirstate-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
|
110 | [formatvariant.name.uptodate|dirstate-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
111 | [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| yes][formatvariant.config.special| no][formatvariant.default| yes] |
|
111 | [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| yes][formatvariant.config.special| no][formatvariant.default| yes] | |
112 | [formatvariant.name.uptodate|generaldelta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
|
112 | [formatvariant.name.uptodate|generaldelta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
113 |
[formatvariant.name.uptodate|share-safe: ][formatvariant.repo.uptodate| |
|
113 | [formatvariant.name.uptodate|share-safe: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
114 | [formatvariant.name.uptodate|sparserevlog: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
|
114 | [formatvariant.name.uptodate|sparserevlog: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
115 | [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] (no-rust !) |
|
115 | [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] (no-rust !) | |
116 | [formatvariant.name.mismatchdefault|persistent-nodemap:][formatvariant.repo.mismatchdefault| yes][formatvariant.config.special| yes][formatvariant.default| no] (rust !) |
|
116 | [formatvariant.name.mismatchdefault|persistent-nodemap:][formatvariant.repo.mismatchdefault| yes][formatvariant.config.special| yes][formatvariant.default| no] (rust !) | |
@@ -148,10 +148,10 b' An upgrade of a repository created with ' | |||||
148 | "repo": true |
|
148 | "repo": true | |
149 | }, |
|
149 | }, | |
150 | { |
|
150 | { | |
151 |
"config": |
|
151 | "config": true, | |
152 |
"default": |
|
152 | "default": true, | |
153 | "name": "share-safe", |
|
153 | "name": "share-safe", | |
154 |
"repo": |
|
154 | "repo": true | |
155 | }, |
|
155 | }, | |
156 | { |
|
156 | { | |
157 | "config": true, |
|
157 | "config": true, | |
@@ -210,8 +210,8 b' An upgrade of a repository created with ' | |||||
210 | performing an upgrade with "--run" will make the following changes: |
|
210 | performing an upgrade with "--run" will make the following changes: | |
211 |
|
211 | |||
212 | requirements |
|
212 | requirements | |
213 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
213 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
214 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
214 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
215 |
|
215 | |||
216 | no revlogs to process |
|
216 | no revlogs to process | |
217 |
|
217 | |||
@@ -232,8 +232,8 b' An upgrade of a repository created with ' | |||||
232 |
|
232 | |||
233 | $ hg debugupgraderepo --quiet |
|
233 | $ hg debugupgraderepo --quiet | |
234 | requirements |
|
234 | requirements | |
235 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
235 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
236 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
236 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
237 |
|
237 | |||
238 | no revlogs to process |
|
238 | no revlogs to process | |
239 |
|
239 | |||
@@ -245,8 +245,8 b' An upgrade of a repository created with ' | |||||
245 | performing an upgrade with "--run" will make the following changes: |
|
245 | performing an upgrade with "--run" will make the following changes: | |
246 |
|
246 | |||
247 | requirements |
|
247 | requirements | |
248 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
248 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
249 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
249 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
250 |
|
250 | |||
251 | optimisations: re-delta-parent |
|
251 | optimisations: re-delta-parent | |
252 |
|
252 | |||
@@ -277,8 +277,8 b' modern form of the option' | |||||
277 | performing an upgrade with "--run" will make the following changes: |
|
277 | performing an upgrade with "--run" will make the following changes: | |
278 |
|
278 | |||
279 | requirements |
|
279 | requirements | |
280 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
280 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
281 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
281 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
282 |
|
282 | |||
283 | optimisations: re-delta-parent |
|
283 | optimisations: re-delta-parent | |
284 |
|
284 | |||
@@ -303,8 +303,8 b' modern form of the option' | |||||
303 |
|
303 | |||
304 | $ hg debugupgrade --optimize re-delta-parent --quiet |
|
304 | $ hg debugupgrade --optimize re-delta-parent --quiet | |
305 | requirements |
|
305 | requirements | |
306 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
306 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
307 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
307 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
308 |
|
308 | |||
309 | optimisations: re-delta-parent |
|
309 | optimisations: re-delta-parent | |
310 |
|
310 | |||
@@ -349,7 +349,7 b' Various sub-optimal detections work' | |||||
349 | dirstate-v2: no no no |
|
349 | dirstate-v2: no no no | |
350 | dotencode: no yes yes |
|
350 | dotencode: no yes yes | |
351 | generaldelta: no yes yes |
|
351 | generaldelta: no yes yes | |
352 |
share-safe: no |
|
352 | share-safe: no yes yes | |
353 | sparserevlog: no yes yes |
|
353 | sparserevlog: no yes yes | |
354 | persistent-nodemap: no no no (no-rust !) |
|
354 | persistent-nodemap: no no no (no-rust !) | |
355 | persistent-nodemap: no yes no (rust !) |
|
355 | persistent-nodemap: no yes no (rust !) | |
@@ -366,7 +366,7 b' Various sub-optimal detections work' | |||||
366 | dirstate-v2: no no no |
|
366 | dirstate-v2: no no no | |
367 | dotencode: no yes yes |
|
367 | dotencode: no yes yes | |
368 | generaldelta: no no yes |
|
368 | generaldelta: no no yes | |
369 |
share-safe: no |
|
369 | share-safe: no yes yes | |
370 | sparserevlog: no no yes |
|
370 | sparserevlog: no no yes | |
371 | persistent-nodemap: no no no (no-rust !) |
|
371 | persistent-nodemap: no no no (no-rust !) | |
372 | persistent-nodemap: no yes no (rust !) |
|
372 | persistent-nodemap: no yes no (rust !) | |
@@ -383,7 +383,7 b' Various sub-optimal detections work' | |||||
383 | [formatvariant.name.uptodate|dirstate-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
|
383 | [formatvariant.name.uptodate|dirstate-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
384 | [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| no][formatvariant.config.default| yes][formatvariant.default| yes] |
|
384 | [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| no][formatvariant.config.default| yes][formatvariant.default| yes] | |
385 | [formatvariant.name.mismatchdefault|generaldelta: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] |
|
385 | [formatvariant.name.mismatchdefault|generaldelta: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] | |
386 |
[formatvariant.name. |
|
386 | [formatvariant.name.mismatchconfig|share-safe: ][formatvariant.repo.mismatchconfig| no][formatvariant.config.default| yes][formatvariant.default| yes] | |
387 | [formatvariant.name.mismatchdefault|sparserevlog: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] |
|
387 | [formatvariant.name.mismatchdefault|sparserevlog: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] | |
388 | [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] (no-rust !) |
|
388 | [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] (no-rust !) | |
389 | [formatvariant.name.mismatchconfig|persistent-nodemap:][formatvariant.repo.mismatchconfig| no][formatvariant.config.special| yes][formatvariant.default| no] (rust !) |
|
389 | [formatvariant.name.mismatchconfig|persistent-nodemap:][formatvariant.repo.mismatchconfig| no][formatvariant.config.special| yes][formatvariant.default| no] (rust !) | |
@@ -410,6 +410,9 b' Various sub-optimal detections work' | |||||
410 | generaldelta |
|
410 | generaldelta | |
411 | deltas within internal storage are unable to choose optimal revisions; repository is larger and slower than it could be; interaction with other repositories may require extra network and CPU resources, making "hg push" and "hg pull" slower |
|
411 | deltas within internal storage are unable to choose optimal revisions; repository is larger and slower than it could be; interaction with other repositories may require extra network and CPU resources, making "hg push" and "hg pull" slower | |
412 |
|
412 | |||
|
413 | share-safe | |||
|
414 | old shared repositories do not share source repository requirements and config. This leads to various problems when the source repository format is upgraded or some new extensions are enabled. | |||
|
415 | ||||
413 | sparserevlog |
|
416 | sparserevlog | |
414 | in order to limit disk reading and memory usage on older version, the span of a delta chain from its root to its end is limited, whatever the relevant data in this span. This can severly limit Mercurial ability to build good chain of delta resulting is much more storage space being taken and limit reusability of on disk delta during exchange. |
|
417 | in order to limit disk reading and memory usage on older version, the span of a delta chain from its root to its end is limited, whatever the relevant data in this span. This can severly limit Mercurial ability to build good chain of delta resulting is much more storage space being taken and limit reusability of on disk delta during exchange. | |
415 |
|
418 | |||
@@ -421,8 +424,8 b' Various sub-optimal detections work' | |||||
421 |
|
424 | |||
422 | requirements |
|
425 | requirements | |
423 | preserved: revlogv1, store |
|
426 | preserved: revlogv1, store | |
424 | added: dotencode, fncache, generaldelta, sparserevlog (no-rust !) |
|
427 | added: dotencode, fncache, generaldelta, share-safe, sparserevlog (no-rust !) | |
425 | added: dotencode, fncache, generaldelta, persistent-nodemap, sparserevlog (rust !) |
|
428 | added: dotencode, fncache, generaldelta, persistent-nodemap, share-safe, sparserevlog (rust !) | |
426 |
|
429 | |||
427 | fncache |
|
430 | fncache | |
428 | repository will be more resilient to storing certain paths and performance of certain operations should be improved |
|
431 | repository will be more resilient to storing certain paths and performance of certain operations should be improved | |
@@ -433,6 +436,9 b' Various sub-optimal detections work' | |||||
433 | generaldelta |
|
436 | generaldelta | |
434 | repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster |
|
437 | repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster | |
435 |
|
438 | |||
|
439 | share-safe | |||
|
440 | Upgrades a repository to share-safe format so that future shares of this repository share its requirements and configs. | |||
|
441 | ||||
436 | sparserevlog |
|
442 | sparserevlog | |
437 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. |
|
443 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. | |
438 |
|
444 | |||
@@ -461,8 +467,8 b' Various sub-optimal detections work' | |||||
461 | $ hg debugupgraderepo --quiet |
|
467 | $ hg debugupgraderepo --quiet | |
462 | requirements |
|
468 | requirements | |
463 | preserved: revlogv1, store |
|
469 | preserved: revlogv1, store | |
464 | added: dotencode, fncache, generaldelta, sparserevlog (no-rust !) |
|
470 | added: dotencode, fncache, generaldelta, share-safe, sparserevlog (no-rust !) | |
465 | added: dotencode, fncache, generaldelta, persistent-nodemap, sparserevlog (rust !) |
|
471 | added: dotencode, fncache, generaldelta, persistent-nodemap, share-safe, sparserevlog (rust !) | |
466 |
|
472 | |||
467 | processed revlogs: |
|
473 | processed revlogs: | |
468 | - all-filelogs |
|
474 | - all-filelogs | |
@@ -483,6 +489,9 b' Various sub-optimal detections work' | |||||
483 | generaldelta |
|
489 | generaldelta | |
484 | deltas within internal storage are unable to choose optimal revisions; repository is larger and slower than it could be; interaction with other repositories may require extra network and CPU resources, making "hg push" and "hg pull" slower |
|
490 | deltas within internal storage are unable to choose optimal revisions; repository is larger and slower than it could be; interaction with other repositories may require extra network and CPU resources, making "hg push" and "hg pull" slower | |
485 |
|
491 | |||
|
492 | share-safe | |||
|
493 | old shared repositories do not share source repository requirements and config. This leads to various problems when the source repository format is upgraded or some new extensions are enabled. | |||
|
494 | ||||
486 | sparserevlog |
|
495 | sparserevlog | |
487 | in order to limit disk reading and memory usage on older version, the span of a delta chain from its root to its end is limited, whatever the relevant data in this span. This can severly limit Mercurial ability to build good chain of delta resulting is much more storage space being taken and limit reusability of on disk delta during exchange. |
|
496 | in order to limit disk reading and memory usage on older version, the span of a delta chain from its root to its end is limited, whatever the relevant data in this span. This can severly limit Mercurial ability to build good chain of delta resulting is much more storage space being taken and limit reusability of on disk delta during exchange. | |
488 |
|
497 | |||
@@ -499,8 +508,8 b' Various sub-optimal detections work' | |||||
499 |
|
508 | |||
500 | requirements |
|
509 | requirements | |
501 | preserved: revlogv1, store |
|
510 | preserved: revlogv1, store | |
502 | added: fncache, generaldelta, sparserevlog (no-rust !) |
|
511 | added: fncache, generaldelta, share-safe, sparserevlog (no-rust !) | |
503 | added: fncache, generaldelta, persistent-nodemap, sparserevlog (rust !) |
|
512 | added: fncache, generaldelta, persistent-nodemap, share-safe, sparserevlog (rust !) | |
504 |
|
513 | |||
505 | fncache |
|
514 | fncache | |
506 | repository will be more resilient to storing certain paths and performance of certain operations should be improved |
|
515 | repository will be more resilient to storing certain paths and performance of certain operations should be improved | |
@@ -508,6 +517,9 b' Various sub-optimal detections work' | |||||
508 | generaldelta |
|
517 | generaldelta | |
509 | repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster |
|
518 | repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster | |
510 |
|
519 | |||
|
520 | share-safe | |||
|
521 | Upgrades a repository to share-safe format so that future shares of this repository share its requirements and configs. | |||
|
522 | ||||
511 | sparserevlog |
|
523 | sparserevlog | |
512 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. |
|
524 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. | |
513 |
|
525 | |||
@@ -576,8 +588,8 b' make sure we have a .d file' | |||||
576 | upgrade will perform the following actions: |
|
588 | upgrade will perform the following actions: | |
577 |
|
589 | |||
578 | requirements |
|
590 | requirements | |
579 | preserved: dotencode, fncache, revlogv1, store (no-rust !) |
|
591 | preserved: dotencode, fncache, revlogv1, share-safe, store (no-rust !) | |
580 | preserved: dotencode, fncache, persistent-nodemap, revlogv1, store (rust !) |
|
592 | preserved: dotencode, fncache, persistent-nodemap, revlogv1, share-safe, store (rust !) | |
581 | added: generaldelta |
|
593 | added: generaldelta | |
582 |
|
594 | |||
583 | generaldelta |
|
595 | generaldelta | |
@@ -602,6 +614,7 b' make sure we have a .d file' | |||||
602 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
614 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
603 | finished migrating 9 total revisions; total change in store size: -17 bytes |
|
615 | finished migrating 9 total revisions; total change in store size: -17 bytes | |
604 | copying phaseroots |
|
616 | copying phaseroots | |
|
617 | copying requires | |||
605 | data fully upgraded in a temporary repository |
|
618 | data fully upgraded in a temporary repository | |
606 | marking source repository as being upgraded; clients will be unable to read from repository |
|
619 | marking source repository as being upgraded; clients will be unable to read from repository | |
607 | starting in-place swap of repository data |
|
620 | starting in-place swap of repository data | |
@@ -616,11 +629,14 b' make sure we have a .d file' | |||||
616 | Original requirements backed up |
|
629 | Original requirements backed up | |
617 |
|
630 | |||
618 | $ cat .hg/upgradebackup.*/requires |
|
631 | $ cat .hg/upgradebackup.*/requires | |
|
632 | share-safe | |||
|
633 | $ cat .hg/upgradebackup.*/store/requires | |||
619 | dotencode |
|
634 | dotencode | |
620 | fncache |
|
635 | fncache | |
621 | persistent-nodemap (rust !) |
|
636 | persistent-nodemap (rust !) | |
622 | revlogv1 |
|
637 | revlogv1 | |
623 | store |
|
638 | store | |
|
639 | upgradeinprogress | |||
624 |
|
640 | |||
625 | generaldelta added to original requirements files |
|
641 | generaldelta added to original requirements files | |
626 |
|
642 | |||
@@ -630,6 +646,7 b' generaldelta added to original requireme' | |||||
630 | generaldelta |
|
646 | generaldelta | |
631 | persistent-nodemap (rust !) |
|
647 | persistent-nodemap (rust !) | |
632 | revlogv1 |
|
648 | revlogv1 | |
|
649 | share-safe | |||
633 | store |
|
650 | store | |
634 |
|
651 | |||
635 | store directory has files we expect |
|
652 | store directory has files we expect | |
@@ -640,6 +657,7 b' store directory has files we expect' | |||||
640 | data |
|
657 | data | |
641 | fncache |
|
658 | fncache | |
642 | phaseroots |
|
659 | phaseroots | |
|
660 | requires | |||
643 | undo |
|
661 | undo | |
644 | undo.backupfiles |
|
662 | undo.backupfiles | |
645 | undo.phaseroots |
|
663 | undo.phaseroots | |
@@ -668,6 +686,7 b' old store should be backed up' | |||||
668 | data |
|
686 | data | |
669 | fncache |
|
687 | fncache | |
670 | phaseroots |
|
688 | phaseroots | |
|
689 | requires | |||
671 | undo |
|
690 | undo | |
672 | undo.backup.fncache |
|
691 | undo.backup.fncache | |
673 | undo.backupfiles |
|
692 | undo.backupfiles | |
@@ -684,8 +703,8 b' unless --no-backup is passed' | |||||
684 | upgrade will perform the following actions: |
|
703 | upgrade will perform the following actions: | |
685 |
|
704 | |||
686 | requirements |
|
705 | requirements | |
687 | preserved: dotencode, fncache, generaldelta, revlogv1, store (no-rust !) |
|
706 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, store (no-rust !) | |
688 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, store (rust !) |
|
707 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, store (rust !) | |
689 | added: sparserevlog |
|
708 | added: sparserevlog | |
690 |
|
709 | |||
691 | sparserevlog |
|
710 | sparserevlog | |
@@ -710,6 +729,7 b' unless --no-backup is passed' | |||||
710 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
729 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
711 | finished migrating 9 total revisions; total change in store size: 0 bytes |
|
730 | finished migrating 9 total revisions; total change in store size: 0 bytes | |
712 | copying phaseroots |
|
731 | copying phaseroots | |
|
732 | copying requires | |||
713 | data fully upgraded in a temporary repository |
|
733 | data fully upgraded in a temporary repository | |
714 | marking source repository as being upgraded; clients will be unable to read from repository |
|
734 | marking source repository as being upgraded; clients will be unable to read from repository | |
715 | starting in-place swap of repository data |
|
735 | starting in-place swap of repository data | |
@@ -726,8 +746,8 b' We can restrict optimization to some rev' | |||||
726 | upgrade will perform the following actions: |
|
746 | upgrade will perform the following actions: | |
727 |
|
747 | |||
728 | requirements |
|
748 | requirements | |
729 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
749 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
730 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
750 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
731 |
|
751 | |||
732 | optimisations: re-delta-parent |
|
752 | optimisations: re-delta-parent | |
733 |
|
753 | |||
@@ -756,6 +776,7 b' We can restrict optimization to some rev' | |||||
756 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
776 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
757 | finished migrating 9 total revisions; total change in store size: 0 bytes |
|
777 | finished migrating 9 total revisions; total change in store size: 0 bytes | |
758 | copying phaseroots |
|
778 | copying phaseroots | |
|
779 | copying requires | |||
759 | data fully upgraded in a temporary repository |
|
780 | data fully upgraded in a temporary repository | |
760 | marking source repository as being upgraded; clients will be unable to read from repository |
|
781 | marking source repository as being upgraded; clients will be unable to read from repository | |
761 | starting in-place swap of repository data |
|
782 | starting in-place swap of repository data | |
@@ -804,8 +825,8 b' Check we can select negatively' | |||||
804 | upgrade will perform the following actions: |
|
825 | upgrade will perform the following actions: | |
805 |
|
826 | |||
806 | requirements |
|
827 | requirements | |
807 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
828 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
808 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
829 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
809 |
|
830 | |||
810 | optimisations: re-delta-parent |
|
831 | optimisations: re-delta-parent | |
811 |
|
832 | |||
@@ -835,6 +856,7 b' Check we can select negatively' | |||||
835 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
856 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
836 | finished migrating 9 total revisions; total change in store size: 0 bytes |
|
857 | finished migrating 9 total revisions; total change in store size: 0 bytes | |
837 | copying phaseroots |
|
858 | copying phaseroots | |
|
859 | copying requires | |||
838 | data fully upgraded in a temporary repository |
|
860 | data fully upgraded in a temporary repository | |
839 | marking source repository as being upgraded; clients will be unable to read from repository |
|
861 | marking source repository as being upgraded; clients will be unable to read from repository | |
840 | starting in-place swap of repository data |
|
862 | starting in-place swap of repository data | |
@@ -855,8 +877,8 b' Check that we can select changelog only' | |||||
855 | upgrade will perform the following actions: |
|
877 | upgrade will perform the following actions: | |
856 |
|
878 | |||
857 | requirements |
|
879 | requirements | |
858 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
880 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
859 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
881 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
860 |
|
882 | |||
861 | optimisations: re-delta-parent |
|
883 | optimisations: re-delta-parent | |
862 |
|
884 | |||
@@ -885,6 +907,7 b' Check that we can select changelog only' | |||||
885 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
907 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
886 | finished migrating 9 total revisions; total change in store size: 0 bytes |
|
908 | finished migrating 9 total revisions; total change in store size: 0 bytes | |
887 | copying phaseroots |
|
909 | copying phaseroots | |
|
910 | copying requires | |||
888 | data fully upgraded in a temporary repository |
|
911 | data fully upgraded in a temporary repository | |
889 | marking source repository as being upgraded; clients will be unable to read from repository |
|
912 | marking source repository as being upgraded; clients will be unable to read from repository | |
890 | starting in-place swap of repository data |
|
913 | starting in-place swap of repository data | |
@@ -905,8 +928,8 b' Check that we can select filelog only' | |||||
905 | upgrade will perform the following actions: |
|
928 | upgrade will perform the following actions: | |
906 |
|
929 | |||
907 | requirements |
|
930 | requirements | |
908 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
931 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
909 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
932 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
910 |
|
933 | |||
911 | optimisations: re-delta-parent |
|
934 | optimisations: re-delta-parent | |
912 |
|
935 | |||
@@ -935,6 +958,7 b' Check that we can select filelog only' | |||||
935 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
958 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
936 | finished migrating 9 total revisions; total change in store size: 0 bytes |
|
959 | finished migrating 9 total revisions; total change in store size: 0 bytes | |
937 | copying phaseroots |
|
960 | copying phaseroots | |
|
961 | copying requires | |||
938 | data fully upgraded in a temporary repository |
|
962 | data fully upgraded in a temporary repository | |
939 | marking source repository as being upgraded; clients will be unable to read from repository |
|
963 | marking source repository as being upgraded; clients will be unable to read from repository | |
940 | starting in-place swap of repository data |
|
964 | starting in-place swap of repository data | |
@@ -958,8 +982,8 b" Check you can't skip revlog clone during" | |||||
958 | warning: ignoring --no-manifest, as upgrade is changing: sparserevlog |
|
982 | warning: ignoring --no-manifest, as upgrade is changing: sparserevlog | |
959 |
|
983 | |||
960 | requirements |
|
984 | requirements | |
961 | preserved: dotencode, fncache, generaldelta, revlogv1, store (no-rust !) |
|
985 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, store (no-rust !) | |
962 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, store (rust !) |
|
986 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, store (rust !) | |
963 | removed: sparserevlog |
|
987 | removed: sparserevlog | |
964 |
|
988 | |||
965 | optimisations: re-delta-parent |
|
989 | optimisations: re-delta-parent | |
@@ -976,8 +1000,8 b" Check you can't skip revlog clone during" | |||||
976 | upgrade will perform the following actions: |
|
1000 | upgrade will perform the following actions: | |
977 |
|
1001 | |||
978 | requirements |
|
1002 | requirements | |
979 | preserved: dotencode, fncache, generaldelta, revlogv1, store (no-rust !) |
|
1003 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, store (no-rust !) | |
980 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, store (rust !) |
|
1004 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, store (rust !) | |
981 | removed: sparserevlog |
|
1005 | removed: sparserevlog | |
982 |
|
1006 | |||
983 | optimisations: re-delta-parent |
|
1007 | optimisations: re-delta-parent | |
@@ -1009,6 +1033,7 b" Check you can't skip revlog clone during" | |||||
1009 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
1033 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
1010 | finished migrating 9 total revisions; total change in store size: 0 bytes |
|
1034 | finished migrating 9 total revisions; total change in store size: 0 bytes | |
1011 | copying phaseroots |
|
1035 | copying phaseroots | |
|
1036 | copying requires | |||
1012 | data fully upgraded in a temporary repository |
|
1037 | data fully upgraded in a temporary repository | |
1013 | marking source repository as being upgraded; clients will be unable to read from repository |
|
1038 | marking source repository as being upgraded; clients will be unable to read from repository | |
1014 | starting in-place swap of repository data |
|
1039 | starting in-place swap of repository data | |
@@ -1033,8 +1058,8 b" Check you can't skip revlog clone during" | |||||
1033 | upgrade will perform the following actions: |
|
1058 | upgrade will perform the following actions: | |
1034 |
|
1059 | |||
1035 | requirements |
|
1060 | requirements | |
1036 | preserved: dotencode, fncache, generaldelta, revlogv1, store (no-rust !) |
|
1061 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, store (no-rust !) | |
1037 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, store (rust !) |
|
1062 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, store (rust !) | |
1038 | added: sparserevlog |
|
1063 | added: sparserevlog | |
1039 |
|
1064 | |||
1040 | optimisations: re-delta-parent |
|
1065 | optimisations: re-delta-parent | |
@@ -1069,6 +1094,7 b" Check you can't skip revlog clone during" | |||||
1069 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
1094 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
1070 | finished migrating 9 total revisions; total change in store size: 0 bytes |
|
1095 | finished migrating 9 total revisions; total change in store size: 0 bytes | |
1071 | copying phaseroots |
|
1096 | copying phaseroots | |
|
1097 | copying requires | |||
1072 | data fully upgraded in a temporary repository |
|
1098 | data fully upgraded in a temporary repository | |
1073 | marking source repository as being upgraded; clients will be unable to read from repository |
|
1099 | marking source repository as being upgraded; clients will be unable to read from repository | |
1074 | starting in-place swap of repository data |
|
1100 | starting in-place swap of repository data | |
@@ -1099,8 +1125,8 b" store files with special filenames aren'" | |||||
1099 | upgrade will perform the following actions: |
|
1125 | upgrade will perform the following actions: | |
1100 |
|
1126 | |||
1101 | requirements |
|
1127 | requirements | |
1102 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
1128 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
1103 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
1129 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
1104 |
|
1130 | |||
1105 | optimisations: re-delta-fulladd |
|
1131 | optimisations: re-delta-fulladd | |
1106 |
|
1132 | |||
@@ -1127,6 +1153,7 b" store files with special filenames aren'" | |||||
1127 | finished migrating 3 total revisions; total change in store size: 0 bytes |
|
1153 | finished migrating 3 total revisions; total change in store size: 0 bytes | |
1128 | copying .XX_special_filename |
|
1154 | copying .XX_special_filename | |
1129 | copying phaseroots |
|
1155 | copying phaseroots | |
|
1156 | copying requires | |||
1130 | data fully upgraded in a temporary repository |
|
1157 | data fully upgraded in a temporary repository | |
1131 | marking source repository as being upgraded; clients will be unable to read from repository |
|
1158 | marking source repository as being upgraded; clients will be unable to read from repository | |
1132 | starting in-place swap of repository data |
|
1159 | starting in-place swap of repository data | |
@@ -1165,6 +1192,7 b' Check upgrading a large file repository' | |||||
1165 | largefiles |
|
1192 | largefiles | |
1166 | persistent-nodemap (rust !) |
|
1193 | persistent-nodemap (rust !) | |
1167 | revlogv1 |
|
1194 | revlogv1 | |
|
1195 | share-safe | |||
1168 | sparserevlog |
|
1196 | sparserevlog | |
1169 | store |
|
1197 | store | |
1170 |
|
1198 | |||
@@ -1177,6 +1205,7 b' Check upgrading a large file repository' | |||||
1177 | largefiles |
|
1205 | largefiles | |
1178 | persistent-nodemap (rust !) |
|
1206 | persistent-nodemap (rust !) | |
1179 | revlogv1 |
|
1207 | revlogv1 | |
|
1208 | share-safe | |||
1180 | sparserevlog |
|
1209 | sparserevlog | |
1181 | store |
|
1210 | store | |
1182 |
|
1211 | |||
@@ -1265,8 +1294,8 b' repository config is taken in account' | |||||
1265 | upgrade will perform the following actions: |
|
1294 | upgrade will perform the following actions: | |
1266 |
|
1295 | |||
1267 | requirements |
|
1296 | requirements | |
1268 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
1297 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
1269 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
1298 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
1270 |
|
1299 | |||
1271 | optimisations: re-delta-all |
|
1300 | optimisations: re-delta-all | |
1272 |
|
1301 | |||
@@ -1292,6 +1321,7 b' repository config is taken in account' | |||||
1292 | finished migrating 3 changelog revisions; change in size: 0 bytes |
|
1321 | finished migrating 3 changelog revisions; change in size: 0 bytes | |
1293 | finished migrating 9 total revisions; total change in store size: -9 bytes |
|
1322 | finished migrating 9 total revisions; total change in store size: -9 bytes | |
1294 | copying phaseroots |
|
1323 | copying phaseroots | |
|
1324 | copying requires | |||
1295 | data fully upgraded in a temporary repository |
|
1325 | data fully upgraded in a temporary repository | |
1296 | marking source repository as being upgraded; clients will be unable to read from repository |
|
1326 | marking source repository as being upgraded; clients will be unable to read from repository | |
1297 | starting in-place swap of repository data |
|
1327 | starting in-place swap of repository data | |
@@ -1328,6 +1358,7 b' Check upgrading a sparse-revlog reposito' | |||||
1328 | generaldelta |
|
1358 | generaldelta | |
1329 | persistent-nodemap (rust !) |
|
1359 | persistent-nodemap (rust !) | |
1330 | revlogv1 |
|
1360 | revlogv1 | |
|
1361 | share-safe | |||
1331 | store |
|
1362 | store | |
1332 |
|
1363 | |||
1333 | Check that we can add the sparse-revlog format requirement |
|
1364 | Check that we can add the sparse-revlog format requirement | |
@@ -1335,8 +1366,8 b' Check that we can add the sparse-revlog ' | |||||
1335 | upgrade will perform the following actions: |
|
1366 | upgrade will perform the following actions: | |
1336 |
|
1367 | |||
1337 | requirements |
|
1368 | requirements | |
1338 | preserved: dotencode, fncache, generaldelta, revlogv1, store (no-rust !) |
|
1369 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, store (no-rust !) | |
1339 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, store (rust !) |
|
1370 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, store (rust !) | |
1340 | added: sparserevlog |
|
1371 | added: sparserevlog | |
1341 |
|
1372 | |||
1342 | processed revlogs: |
|
1373 | processed revlogs: | |
@@ -1350,6 +1381,7 b' Check that we can add the sparse-revlog ' | |||||
1350 | generaldelta |
|
1381 | generaldelta | |
1351 | persistent-nodemap (rust !) |
|
1382 | persistent-nodemap (rust !) | |
1352 | revlogv1 |
|
1383 | revlogv1 | |
|
1384 | share-safe | |||
1353 | sparserevlog |
|
1385 | sparserevlog | |
1354 | store |
|
1386 | store | |
1355 |
|
1387 | |||
@@ -1358,8 +1390,8 b' Check that we can remove the sparse-revl' | |||||
1358 | upgrade will perform the following actions: |
|
1390 | upgrade will perform the following actions: | |
1359 |
|
1391 | |||
1360 | requirements |
|
1392 | requirements | |
1361 | preserved: dotencode, fncache, generaldelta, revlogv1, store (no-rust !) |
|
1393 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, store (no-rust !) | |
1362 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, store (rust !) |
|
1394 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, store (rust !) | |
1363 | removed: sparserevlog |
|
1395 | removed: sparserevlog | |
1364 |
|
1396 | |||
1365 | processed revlogs: |
|
1397 | processed revlogs: | |
@@ -1373,6 +1405,7 b' Check that we can remove the sparse-revl' | |||||
1373 | generaldelta |
|
1405 | generaldelta | |
1374 | persistent-nodemap (rust !) |
|
1406 | persistent-nodemap (rust !) | |
1375 | revlogv1 |
|
1407 | revlogv1 | |
|
1408 | share-safe | |||
1376 | store |
|
1409 | store | |
1377 |
|
1410 | |||
1378 | #if zstd |
|
1411 | #if zstd | |
@@ -1386,8 +1419,8 b' upgrade' | |||||
1386 | upgrade will perform the following actions: |
|
1419 | upgrade will perform the following actions: | |
1387 |
|
1420 | |||
1388 | requirements |
|
1421 | requirements | |
1389 | preserved: dotencode, fncache, generaldelta, revlogv1, store (no-rust !) |
|
1422 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, store (no-rust !) | |
1390 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, store (rust !) |
|
1423 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, store (rust !) | |
1391 | added: revlog-compression-zstd, sparserevlog |
|
1424 | added: revlog-compression-zstd, sparserevlog | |
1392 |
|
1425 | |||
1393 | processed revlogs: |
|
1426 | processed revlogs: | |
@@ -1401,7 +1434,7 b' upgrade' | |||||
1401 | dirstate-v2: no no no |
|
1434 | dirstate-v2: no no no | |
1402 | dotencode: yes yes yes |
|
1435 | dotencode: yes yes yes | |
1403 | generaldelta: yes yes yes |
|
1436 | generaldelta: yes yes yes | |
1404 |
share-safe: |
|
1437 | share-safe: yes yes yes | |
1405 | sparserevlog: yes yes yes |
|
1438 | sparserevlog: yes yes yes | |
1406 | persistent-nodemap: no no no (no-rust !) |
|
1439 | persistent-nodemap: no no no (no-rust !) | |
1407 | persistent-nodemap: yes yes no (rust !) |
|
1440 | persistent-nodemap: yes yes no (rust !) | |
@@ -1419,6 +1452,7 b' upgrade' | |||||
1419 | persistent-nodemap (rust !) |
|
1452 | persistent-nodemap (rust !) | |
1420 | revlog-compression-zstd |
|
1453 | revlog-compression-zstd | |
1421 | revlogv1 |
|
1454 | revlogv1 | |
|
1455 | share-safe | |||
1422 | sparserevlog |
|
1456 | sparserevlog | |
1423 | store |
|
1457 | store | |
1424 |
|
1458 | |||
@@ -1428,8 +1462,8 b' downgrade' | |||||
1428 | upgrade will perform the following actions: |
|
1462 | upgrade will perform the following actions: | |
1429 |
|
1463 | |||
1430 | requirements |
|
1464 | requirements | |
1431 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
1465 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
1432 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
1466 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
1433 | removed: revlog-compression-zstd |
|
1467 | removed: revlog-compression-zstd | |
1434 |
|
1468 | |||
1435 | processed revlogs: |
|
1469 | processed revlogs: | |
@@ -1443,7 +1477,7 b' downgrade' | |||||
1443 | dirstate-v2: no no no |
|
1477 | dirstate-v2: no no no | |
1444 | dotencode: yes yes yes |
|
1478 | dotencode: yes yes yes | |
1445 | generaldelta: yes yes yes |
|
1479 | generaldelta: yes yes yes | |
1446 |
share-safe: |
|
1480 | share-safe: yes yes yes | |
1447 | sparserevlog: yes yes yes |
|
1481 | sparserevlog: yes yes yes | |
1448 | persistent-nodemap: no no no (no-rust !) |
|
1482 | persistent-nodemap: no no no (no-rust !) | |
1449 | persistent-nodemap: yes yes no (rust !) |
|
1483 | persistent-nodemap: yes yes no (rust !) | |
@@ -1460,6 +1494,7 b' downgrade' | |||||
1460 | generaldelta |
|
1494 | generaldelta | |
1461 | persistent-nodemap (rust !) |
|
1495 | persistent-nodemap (rust !) | |
1462 | revlogv1 |
|
1496 | revlogv1 | |
|
1497 | share-safe | |||
1463 | sparserevlog |
|
1498 | sparserevlog | |
1464 | store |
|
1499 | store | |
1465 |
|
1500 | |||
@@ -1473,8 +1508,8 b' upgrade from hgrc' | |||||
1473 | upgrade will perform the following actions: |
|
1508 | upgrade will perform the following actions: | |
1474 |
|
1509 | |||
1475 | requirements |
|
1510 | requirements | |
1476 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-rust !) |
|
1511 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) | |
1477 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, sparserevlog, store (rust !) |
|
1512 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (rust !) | |
1478 | added: revlog-compression-zstd |
|
1513 | added: revlog-compression-zstd | |
1479 |
|
1514 | |||
1480 | processed revlogs: |
|
1515 | processed revlogs: | |
@@ -1488,7 +1523,7 b' upgrade from hgrc' | |||||
1488 | dirstate-v2: no no no |
|
1523 | dirstate-v2: no no no | |
1489 | dotencode: yes yes yes |
|
1524 | dotencode: yes yes yes | |
1490 | generaldelta: yes yes yes |
|
1525 | generaldelta: yes yes yes | |
1491 |
share-safe: |
|
1526 | share-safe: yes yes yes | |
1492 | sparserevlog: yes yes yes |
|
1527 | sparserevlog: yes yes yes | |
1493 | persistent-nodemap: no no no (no-rust !) |
|
1528 | persistent-nodemap: no no no (no-rust !) | |
1494 | persistent-nodemap: yes yes no (rust !) |
|
1529 | persistent-nodemap: yes yes no (rust !) | |
@@ -1506,6 +1541,7 b' upgrade from hgrc' | |||||
1506 | persistent-nodemap (rust !) |
|
1541 | persistent-nodemap (rust !) | |
1507 | revlog-compression-zstd |
|
1542 | revlog-compression-zstd | |
1508 | revlogv1 |
|
1543 | revlogv1 | |
|
1544 | share-safe | |||
1509 | sparserevlog |
|
1545 | sparserevlog | |
1510 | store |
|
1546 | store | |
1511 |
|
1547 | |||
@@ -1521,9 +1557,9 b' upgrade' | |||||
1521 | upgrade will perform the following actions: |
|
1557 | upgrade will perform the following actions: | |
1522 |
|
1558 | |||
1523 | requirements |
|
1559 | requirements | |
1524 | preserved: dotencode, fncache, generaldelta, store (no-zstd !) |
|
1560 | preserved: dotencode, fncache, generaldelta, share-safe, store (no-zstd !) | |
1525 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, sparserevlog, store (zstd no-rust !) |
|
1561 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, share-safe, sparserevlog, store (zstd no-rust !) | |
1526 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store (rust !) |
|
1562 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, share-safe, sparserevlog, store (rust !) | |
1527 | removed: revlogv1 |
|
1563 | removed: revlogv1 | |
1528 | added: exp-revlogv2.2 (zstd !) |
|
1564 | added: exp-revlogv2.2 (zstd !) | |
1529 | added: exp-revlogv2.2, sparserevlog (no-zstd !) |
|
1565 | added: exp-revlogv2.2, sparserevlog (no-zstd !) | |
@@ -1539,7 +1575,7 b' upgrade' | |||||
1539 | dirstate-v2: no no no |
|
1575 | dirstate-v2: no no no | |
1540 | dotencode: yes yes yes |
|
1576 | dotencode: yes yes yes | |
1541 | generaldelta: yes yes yes |
|
1577 | generaldelta: yes yes yes | |
1542 |
share-safe: |
|
1578 | share-safe: yes yes yes | |
1543 | sparserevlog: yes yes yes |
|
1579 | sparserevlog: yes yes yes | |
1544 | persistent-nodemap: no no no (no-rust !) |
|
1580 | persistent-nodemap: no no no (no-rust !) | |
1545 | persistent-nodemap: yes yes no (rust !) |
|
1581 | persistent-nodemap: yes yes no (rust !) | |
@@ -1557,6 +1593,7 b' upgrade' | |||||
1557 | generaldelta |
|
1593 | generaldelta | |
1558 | persistent-nodemap (rust !) |
|
1594 | persistent-nodemap (rust !) | |
1559 | revlog-compression-zstd (zstd !) |
|
1595 | revlog-compression-zstd (zstd !) | |
|
1596 | share-safe | |||
1560 | sparserevlog |
|
1597 | sparserevlog | |
1561 | store |
|
1598 | store | |
1562 | $ hg debugsidedata -c 0 |
|
1599 | $ hg debugsidedata -c 0 | |
@@ -1570,9 +1607,9 b' downgrade' | |||||
1570 | upgrade will perform the following actions: |
|
1607 | upgrade will perform the following actions: | |
1571 |
|
1608 | |||
1572 | requirements |
|
1609 | requirements | |
1573 | preserved: dotencode, fncache, generaldelta, sparserevlog, store (no-zstd !) |
|
1610 | preserved: dotencode, fncache, generaldelta, share-safe, sparserevlog, store (no-zstd !) | |
1574 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, sparserevlog, store (zstd no-rust !) |
|
1611 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, share-safe, sparserevlog, store (zstd no-rust !) | |
1575 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store (rust !) |
|
1612 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, share-safe, sparserevlog, store (rust !) | |
1576 | removed: exp-revlogv2.2 |
|
1613 | removed: exp-revlogv2.2 | |
1577 | added: revlogv1 |
|
1614 | added: revlogv1 | |
1578 |
|
1615 | |||
@@ -1587,7 +1624,7 b' downgrade' | |||||
1587 | dirstate-v2: no no no |
|
1624 | dirstate-v2: no no no | |
1588 | dotencode: yes yes yes |
|
1625 | dotencode: yes yes yes | |
1589 | generaldelta: yes yes yes |
|
1626 | generaldelta: yes yes yes | |
1590 |
share-safe: |
|
1627 | share-safe: yes yes yes | |
1591 | sparserevlog: yes yes yes |
|
1628 | sparserevlog: yes yes yes | |
1592 | persistent-nodemap: no no no (no-rust !) |
|
1629 | persistent-nodemap: no no no (no-rust !) | |
1593 | persistent-nodemap: yes yes no (rust !) |
|
1630 | persistent-nodemap: yes yes no (rust !) | |
@@ -1605,6 +1642,7 b' downgrade' | |||||
1605 | persistent-nodemap (rust !) |
|
1642 | persistent-nodemap (rust !) | |
1606 | revlog-compression-zstd (zstd !) |
|
1643 | revlog-compression-zstd (zstd !) | |
1607 | revlogv1 |
|
1644 | revlogv1 | |
|
1645 | share-safe | |||
1608 | sparserevlog |
|
1646 | sparserevlog | |
1609 | store |
|
1647 | store | |
1610 | $ hg debugsidedata -c 0 |
|
1648 | $ hg debugsidedata -c 0 | |
@@ -1619,9 +1657,9 b' upgrade from hgrc' | |||||
1619 | upgrade will perform the following actions: |
|
1657 | upgrade will perform the following actions: | |
1620 |
|
1658 | |||
1621 | requirements |
|
1659 | requirements | |
1622 | preserved: dotencode, fncache, generaldelta, sparserevlog, store (no-zstd !) |
|
1660 | preserved: dotencode, fncache, generaldelta, share-safe, sparserevlog, store (no-zstd !) | |
1623 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, sparserevlog, store (zstd no-rust !) |
|
1661 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, share-safe, sparserevlog, store (zstd no-rust !) | |
1624 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store (rust !) |
|
1662 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, share-safe, sparserevlog, store (rust !) | |
1625 | removed: revlogv1 |
|
1663 | removed: revlogv1 | |
1626 | added: exp-revlogv2.2 |
|
1664 | added: exp-revlogv2.2 | |
1627 |
|
1665 | |||
@@ -1636,7 +1674,7 b' upgrade from hgrc' | |||||
1636 | dirstate-v2: no no no |
|
1674 | dirstate-v2: no no no | |
1637 | dotencode: yes yes yes |
|
1675 | dotencode: yes yes yes | |
1638 | generaldelta: yes yes yes |
|
1676 | generaldelta: yes yes yes | |
1639 |
share-safe: |
|
1677 | share-safe: yes yes yes | |
1640 | sparserevlog: yes yes yes |
|
1678 | sparserevlog: yes yes yes | |
1641 | persistent-nodemap: no no no (no-rust !) |
|
1679 | persistent-nodemap: no no no (no-rust !) | |
1642 | persistent-nodemap: yes yes no (rust !) |
|
1680 | persistent-nodemap: yes yes no (rust !) | |
@@ -1654,6 +1692,7 b' upgrade from hgrc' | |||||
1654 | generaldelta |
|
1692 | generaldelta | |
1655 | persistent-nodemap (rust !) |
|
1693 | persistent-nodemap (rust !) | |
1656 | revlog-compression-zstd (zstd !) |
|
1694 | revlog-compression-zstd (zstd !) | |
|
1695 | share-safe | |||
1657 | sparserevlog |
|
1696 | sparserevlog | |
1658 | store |
|
1697 | store | |
1659 | $ hg debugsidedata -c 0 |
|
1698 | $ hg debugsidedata -c 0 |
General Comments 0
You need to be logged in to leave comments.
Login now