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