Mercurial > hg
comparison tests/test-upgrade-repo.t @ 47263:6c84fc9c9a90
changelogv2: introduce a "changelogv2" feature
Right now, this means using revlogv2, but only for the changelog. We will have
the format more unique in future changesets.
Differential Revision: https://phab.mercurial-scm.org/D10660
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 29 Mar 2021 22:40:54 +0200 |
parents | 0dedd3d063b0 |
children | a43d256c041a |
comparison
equal
deleted
inserted
replaced
47262:468e451fc0de | 47263:6c84fc9c9a90 |
---|---|
63 sparserevlog: yes | 63 sparserevlog: yes |
64 persistent-nodemap: no (no-rust !) | 64 persistent-nodemap: no (no-rust !) |
65 persistent-nodemap: yes (rust !) | 65 persistent-nodemap: yes (rust !) |
66 copies-sdc: no | 66 copies-sdc: no |
67 revlog-v2: no | 67 revlog-v2: no |
68 changelog-v2: no | |
68 plain-cl-delta: yes | 69 plain-cl-delta: yes |
69 compression: zlib | 70 compression: zlib |
70 compression-level: default | 71 compression-level: default |
71 $ hg debugformat --verbose | 72 $ hg debugformat --verbose |
72 format-variant repo config default | 73 format-variant repo config default |
77 sparserevlog: yes yes yes | 78 sparserevlog: yes yes yes |
78 persistent-nodemap: no no no (no-rust !) | 79 persistent-nodemap: no no no (no-rust !) |
79 persistent-nodemap: yes yes no (rust !) | 80 persistent-nodemap: yes yes no (rust !) |
80 copies-sdc: no no no | 81 copies-sdc: no no no |
81 revlog-v2: no no no | 82 revlog-v2: no no no |
83 changelog-v2: no no no | |
82 plain-cl-delta: yes yes yes | 84 plain-cl-delta: yes yes yes |
83 compression: zlib zlib zlib (no-zstd !) | 85 compression: zlib zlib zlib (no-zstd !) |
84 compression: zlib zlib zstd (zstd !) | 86 compression: zlib zlib zstd (zstd !) |
85 compression-level: default default default | 87 compression-level: default default default |
86 $ hg debugformat --verbose --config format.usefncache=no | 88 $ hg debugformat --verbose --config format.usefncache=no |
92 sparserevlog: yes yes yes | 94 sparserevlog: yes yes yes |
93 persistent-nodemap: no no no (no-rust !) | 95 persistent-nodemap: no no no (no-rust !) |
94 persistent-nodemap: yes yes no (rust !) | 96 persistent-nodemap: yes yes no (rust !) |
95 copies-sdc: no no no | 97 copies-sdc: no no no |
96 revlog-v2: no no no | 98 revlog-v2: no no no |
99 changelog-v2: no no no | |
97 plain-cl-delta: yes yes yes | 100 plain-cl-delta: yes yes yes |
98 compression: zlib zlib zlib (no-zstd !) | 101 compression: zlib zlib zlib (no-zstd !) |
99 compression: zlib zlib zstd (zstd !) | 102 compression: zlib zlib zstd (zstd !) |
100 compression-level: default default default | 103 compression-level: default default default |
101 $ hg debugformat --verbose --config format.usefncache=no --color=debug | 104 $ hg debugformat --verbose --config format.usefncache=no --color=debug |
107 [formatvariant.name.uptodate|sparserevlog: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | 110 [formatvariant.name.uptodate|sparserevlog: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
108 [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] (no-rust !) | 111 [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] (no-rust !) |
109 [formatvariant.name.mismatchdefault|persistent-nodemap:][formatvariant.repo.mismatchdefault| yes][formatvariant.config.special| yes][formatvariant.default| no] (rust !) | 112 [formatvariant.name.mismatchdefault|persistent-nodemap:][formatvariant.repo.mismatchdefault| yes][formatvariant.config.special| yes][formatvariant.default| no] (rust !) |
110 [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | 113 [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
111 [formatvariant.name.uptodate|revlog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | 114 [formatvariant.name.uptodate|revlog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
115 [formatvariant.name.uptodate|changelog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
112 [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | 116 [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
113 [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] (no-zstd !) | 117 [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] (no-zstd !) |
114 [formatvariant.name.mismatchdefault|compression: ][formatvariant.repo.mismatchdefault| zlib][formatvariant.config.special| zlib][formatvariant.default| zstd] (zstd !) | 118 [formatvariant.name.mismatchdefault|compression: ][formatvariant.repo.mismatchdefault| zlib][formatvariant.config.special| zlib][formatvariant.default| zstd] (zstd !) |
115 [formatvariant.name.uptodate|compression-level: ][formatvariant.repo.uptodate| default][formatvariant.config.default| default][formatvariant.default| default] | 119 [formatvariant.name.uptodate|compression-level: ][formatvariant.repo.uptodate| default][formatvariant.config.default| default][formatvariant.default| default] |
116 $ hg debugformat -Tjson | 120 $ hg debugformat -Tjson |
164 "default": false, | 168 "default": false, |
165 "name": "revlog-v2", | 169 "name": "revlog-v2", |
166 "repo": false | 170 "repo": false |
167 }, | 171 }, |
168 { | 172 { |
173 "config": false, | |
174 "default": false, | |
175 "name": "changelog-v2", | |
176 "repo": false | |
177 }, | |
178 { | |
169 "config": true, | 179 "config": true, |
170 "default": true, | 180 "default": true, |
171 "name": "plain-cl-delta", | 181 "name": "plain-cl-delta", |
172 "repo": true | 182 "repo": true |
173 }, | 183 }, |
322 share-safe: no | 332 share-safe: no |
323 sparserevlog: no | 333 sparserevlog: no |
324 persistent-nodemap: no | 334 persistent-nodemap: no |
325 copies-sdc: no | 335 copies-sdc: no |
326 revlog-v2: no | 336 revlog-v2: no |
337 changelog-v2: no | |
327 plain-cl-delta: yes | 338 plain-cl-delta: yes |
328 compression: zlib | 339 compression: zlib |
329 compression-level: default | 340 compression-level: default |
330 $ hg debugformat --verbose | 341 $ hg debugformat --verbose |
331 format-variant repo config default | 342 format-variant repo config default |
336 sparserevlog: no yes yes | 347 sparserevlog: no yes yes |
337 persistent-nodemap: no no no (no-rust !) | 348 persistent-nodemap: no no no (no-rust !) |
338 persistent-nodemap: no yes no (rust !) | 349 persistent-nodemap: no yes no (rust !) |
339 copies-sdc: no no no | 350 copies-sdc: no no no |
340 revlog-v2: no no no | 351 revlog-v2: no no no |
352 changelog-v2: no no no | |
341 plain-cl-delta: yes yes yes | 353 plain-cl-delta: yes yes yes |
342 compression: zlib zlib zlib (no-zstd !) | 354 compression: zlib zlib zlib (no-zstd !) |
343 compression: zlib zlib zstd (zstd !) | 355 compression: zlib zlib zstd (zstd !) |
344 compression-level: default default default | 356 compression-level: default default default |
345 $ hg debugformat --verbose --config format.usegeneraldelta=no | 357 $ hg debugformat --verbose --config format.usegeneraldelta=no |
351 sparserevlog: no no yes | 363 sparserevlog: no no yes |
352 persistent-nodemap: no no no (no-rust !) | 364 persistent-nodemap: no no no (no-rust !) |
353 persistent-nodemap: no yes no (rust !) | 365 persistent-nodemap: no yes no (rust !) |
354 copies-sdc: no no no | 366 copies-sdc: no no no |
355 revlog-v2: no no no | 367 revlog-v2: no no no |
368 changelog-v2: no no no | |
356 plain-cl-delta: yes yes yes | 369 plain-cl-delta: yes yes yes |
357 compression: zlib zlib zlib (no-zstd !) | 370 compression: zlib zlib zlib (no-zstd !) |
358 compression: zlib zlib zstd (zstd !) | 371 compression: zlib zlib zstd (zstd !) |
359 compression-level: default default default | 372 compression-level: default default default |
360 $ hg debugformat --verbose --config format.usegeneraldelta=no --color=debug | 373 $ hg debugformat --verbose --config format.usegeneraldelta=no --color=debug |
366 [formatvariant.name.mismatchdefault|sparserevlog: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] | 379 [formatvariant.name.mismatchdefault|sparserevlog: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] |
367 [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] (no-rust !) | 380 [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] (no-rust !) |
368 [formatvariant.name.mismatchconfig|persistent-nodemap:][formatvariant.repo.mismatchconfig| no][formatvariant.config.special| yes][formatvariant.default| no] (rust !) | 381 [formatvariant.name.mismatchconfig|persistent-nodemap:][formatvariant.repo.mismatchconfig| no][formatvariant.config.special| yes][formatvariant.default| no] (rust !) |
369 [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | 382 [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
370 [formatvariant.name.uptodate|revlog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | 383 [formatvariant.name.uptodate|revlog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
384 [formatvariant.name.uptodate|changelog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
371 [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | 385 [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
372 [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] (no-zstd !) | 386 [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] (no-zstd !) |
373 [formatvariant.name.mismatchdefault|compression: ][formatvariant.repo.mismatchdefault| zlib][formatvariant.config.special| zlib][formatvariant.default| zstd] (zstd !) | 387 [formatvariant.name.mismatchdefault|compression: ][formatvariant.repo.mismatchdefault| zlib][formatvariant.config.special| zlib][formatvariant.default| zstd] (zstd !) |
374 [formatvariant.name.uptodate|compression-level: ][formatvariant.repo.uptodate| default][formatvariant.config.default| default][formatvariant.default| default] | 388 [formatvariant.name.uptodate|compression-level: ][formatvariant.repo.uptodate| default][formatvariant.config.default| default][formatvariant.default| default] |
375 $ hg debugupgraderepo | 389 $ hg debugupgraderepo |
1347 sparserevlog: yes yes yes | 1361 sparserevlog: yes yes yes |
1348 persistent-nodemap: no no no (no-rust !) | 1362 persistent-nodemap: no no no (no-rust !) |
1349 persistent-nodemap: yes yes no (rust !) | 1363 persistent-nodemap: yes yes no (rust !) |
1350 copies-sdc: no no no | 1364 copies-sdc: no no no |
1351 revlog-v2: no no no | 1365 revlog-v2: no no no |
1366 changelog-v2: no no no | |
1352 plain-cl-delta: yes yes yes | 1367 plain-cl-delta: yes yes yes |
1353 compression: zlib zlib zlib (no-zstd !) | 1368 compression: zlib zlib zlib (no-zstd !) |
1354 compression: zstd zlib zstd (zstd !) | 1369 compression: zstd zlib zstd (zstd !) |
1355 compression-level: default default default | 1370 compression-level: default default default |
1356 $ cat .hg/requires | 1371 $ cat .hg/requires |
1387 sparserevlog: yes yes yes | 1402 sparserevlog: yes yes yes |
1388 persistent-nodemap: no no no (no-rust !) | 1403 persistent-nodemap: no no no (no-rust !) |
1389 persistent-nodemap: yes yes no (rust !) | 1404 persistent-nodemap: yes yes no (rust !) |
1390 copies-sdc: no no no | 1405 copies-sdc: no no no |
1391 revlog-v2: no no no | 1406 revlog-v2: no no no |
1407 changelog-v2: no no no | |
1392 plain-cl-delta: yes yes yes | 1408 plain-cl-delta: yes yes yes |
1393 compression: zlib zlib zlib (no-zstd !) | 1409 compression: zlib zlib zlib (no-zstd !) |
1394 compression: zlib zlib zstd (zstd !) | 1410 compression: zlib zlib zstd (zstd !) |
1395 compression-level: default default default | 1411 compression-level: default default default |
1396 $ cat .hg/requires | 1412 $ cat .hg/requires |
1430 sparserevlog: yes yes yes | 1446 sparserevlog: yes yes yes |
1431 persistent-nodemap: no no no (no-rust !) | 1447 persistent-nodemap: no no no (no-rust !) |
1432 persistent-nodemap: yes yes no (rust !) | 1448 persistent-nodemap: yes yes no (rust !) |
1433 copies-sdc: no no no | 1449 copies-sdc: no no no |
1434 revlog-v2: no no no | 1450 revlog-v2: no no no |
1451 changelog-v2: no no no | |
1435 plain-cl-delta: yes yes yes | 1452 plain-cl-delta: yes yes yes |
1436 compression: zlib zlib zlib (no-zstd !) | 1453 compression: zlib zlib zlib (no-zstd !) |
1437 compression: zstd zstd zstd (zstd !) | 1454 compression: zstd zstd zstd (zstd !) |
1438 compression-level: default default default | 1455 compression-level: default default default |
1439 $ cat .hg/requires | 1456 $ cat .hg/requires |
1479 sparserevlog: yes yes yes | 1496 sparserevlog: yes yes yes |
1480 persistent-nodemap: no no no (no-rust !) | 1497 persistent-nodemap: no no no (no-rust !) |
1481 persistent-nodemap: yes yes no (rust !) | 1498 persistent-nodemap: yes yes no (rust !) |
1482 copies-sdc: no no no | 1499 copies-sdc: no no no |
1483 revlog-v2: yes no no | 1500 revlog-v2: yes no no |
1501 changelog-v2: no no no | |
1484 plain-cl-delta: yes yes yes | 1502 plain-cl-delta: yes yes yes |
1485 compression: zlib zlib zlib (no-zstd !) | 1503 compression: zlib zlib zlib (no-zstd !) |
1486 compression: zstd zstd zstd (zstd !) | 1504 compression: zstd zstd zstd (zstd !) |
1487 compression-level: default default default | 1505 compression-level: default default default |
1488 $ cat .hg/requires | 1506 $ cat .hg/requires |
1525 sparserevlog: yes yes yes | 1543 sparserevlog: yes yes yes |
1526 persistent-nodemap: no no no (no-rust !) | 1544 persistent-nodemap: no no no (no-rust !) |
1527 persistent-nodemap: yes yes no (rust !) | 1545 persistent-nodemap: yes yes no (rust !) |
1528 copies-sdc: no no no | 1546 copies-sdc: no no no |
1529 revlog-v2: no no no | 1547 revlog-v2: no no no |
1548 changelog-v2: no no no | |
1530 plain-cl-delta: yes yes yes | 1549 plain-cl-delta: yes yes yes |
1531 compression: zlib zlib zlib (no-zstd !) | 1550 compression: zlib zlib zlib (no-zstd !) |
1532 compression: zstd zstd zstd (zstd !) | 1551 compression: zstd zstd zstd (zstd !) |
1533 compression-level: default default default | 1552 compression-level: default default default |
1534 $ cat .hg/requires | 1553 $ cat .hg/requires |
1572 sparserevlog: yes yes yes | 1591 sparserevlog: yes yes yes |
1573 persistent-nodemap: no no no (no-rust !) | 1592 persistent-nodemap: no no no (no-rust !) |
1574 persistent-nodemap: yes yes no (rust !) | 1593 persistent-nodemap: yes yes no (rust !) |
1575 copies-sdc: no no no | 1594 copies-sdc: no no no |
1576 revlog-v2: yes yes no | 1595 revlog-v2: yes yes no |
1596 changelog-v2: no no no | |
1577 plain-cl-delta: yes yes yes | 1597 plain-cl-delta: yes yes yes |
1578 compression: zlib zlib zlib (no-zstd !) | 1598 compression: zlib zlib zlib (no-zstd !) |
1579 compression: zstd zstd zstd (zstd !) | 1599 compression: zstd zstd zstd (zstd !) |
1580 compression-level: default default default | 1600 compression-level: default default default |
1581 $ cat .hg/requires | 1601 $ cat .hg/requires |