comparison tests/test-upgrade-repo.t @ 48656:100481195114

tests: use debugrequires in test-upgrade-repo.t Whenever possible, we use the `hg debugrequires` command instead of directly grepping the file. Differential Revision: https://phab.mercurial-scm.org/D11984
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 11 Jan 2022 16:32:38 +0100
parents 5e6542143d40
children 68b7faeb6ef3
comparison
equal deleted inserted replaced
48655:c95ace94f3ad 48656:100481195114
1156 1156
1157 $ cd largefilesrepo 1157 $ cd largefilesrepo
1158 $ touch foo 1158 $ touch foo
1159 $ hg add --large foo 1159 $ hg add --large foo
1160 $ hg -q commit -m initial 1160 $ hg -q commit -m initial
1161 $ cat .hg/requires 1161 $ hg debugrequires
1162 dotencode 1162 dotencode
1163 fncache 1163 fncache
1164 generaldelta 1164 generaldelta
1165 largefiles 1165 largefiles
1166 persistent-nodemap (rust !) 1166 persistent-nodemap (rust !)
1168 sparserevlog 1168 sparserevlog
1169 store 1169 store
1170 1170
1171 $ hg debugupgraderepo --run 1171 $ hg debugupgraderepo --run
1172 nothing to do 1172 nothing to do
1173 $ cat .hg/requires 1173 $ hg debugrequires
1174 dotencode 1174 dotencode
1175 fncache 1175 fncache
1176 generaldelta 1176 generaldelta
1177 largefiles 1177 largefiles
1178 persistent-nodemap (rust !) 1178 persistent-nodemap (rust !)
1320 $ hg init sparserevlogrepo --config format.sparse-revlog=no 1320 $ hg init sparserevlogrepo --config format.sparse-revlog=no
1321 $ cd sparserevlogrepo 1321 $ cd sparserevlogrepo
1322 $ touch foo 1322 $ touch foo
1323 $ hg add foo 1323 $ hg add foo
1324 $ hg -q commit -m "foo" 1324 $ hg -q commit -m "foo"
1325 $ cat .hg/requires 1325 $ hg debugrequires
1326 dotencode 1326 dotencode
1327 fncache 1327 fncache
1328 generaldelta 1328 generaldelta
1329 persistent-nodemap (rust !) 1329 persistent-nodemap (rust !)
1330 revlogv1 1330 revlogv1
1342 processed revlogs: 1342 processed revlogs:
1343 - all-filelogs 1343 - all-filelogs
1344 - changelog 1344 - changelog
1345 - manifest 1345 - manifest
1346 1346
1347 $ cat .hg/requires 1347 $ hg debugrequires
1348 dotencode 1348 dotencode
1349 fncache 1349 fncache
1350 generaldelta 1350 generaldelta
1351 persistent-nodemap (rust !) 1351 persistent-nodemap (rust !)
1352 revlogv1 1352 revlogv1
1365 processed revlogs: 1365 processed revlogs:
1366 - all-filelogs 1366 - all-filelogs
1367 - changelog 1367 - changelog
1368 - manifest 1368 - manifest
1369 1369
1370 $ cat .hg/requires 1370 $ hg debugrequires
1371 dotencode 1371 dotencode
1372 fncache 1372 fncache
1373 generaldelta 1373 generaldelta
1374 persistent-nodemap (rust !) 1374 persistent-nodemap (rust !)
1375 revlogv1 1375 revlogv1
1410 changelog-v2: no no no 1410 changelog-v2: no no no
1411 plain-cl-delta: yes yes yes 1411 plain-cl-delta: yes yes yes
1412 compression: zlib zlib zlib (no-zstd !) 1412 compression: zlib zlib zlib (no-zstd !)
1413 compression: zstd zlib zstd (zstd !) 1413 compression: zstd zlib zstd (zstd !)
1414 compression-level: default default default 1414 compression-level: default default default
1415 $ cat .hg/requires 1415 $ hg debugrequires
1416 dotencode 1416 dotencode
1417 fncache 1417 fncache
1418 generaldelta 1418 generaldelta
1419 persistent-nodemap (rust !) 1419 persistent-nodemap (rust !)
1420 revlog-compression-zstd 1420 revlog-compression-zstd
1452 changelog-v2: no no no 1452 changelog-v2: no no no
1453 plain-cl-delta: yes yes yes 1453 plain-cl-delta: yes yes yes
1454 compression: zlib zlib zlib (no-zstd !) 1454 compression: zlib zlib zlib (no-zstd !)
1455 compression: zlib zlib zstd (zstd !) 1455 compression: zlib zlib zstd (zstd !)
1456 compression-level: default default default 1456 compression-level: default default default
1457 $ cat .hg/requires 1457 $ hg debugrequires
1458 dotencode 1458 dotencode
1459 fncache 1459 fncache
1460 generaldelta 1460 generaldelta
1461 persistent-nodemap (rust !) 1461 persistent-nodemap (rust !)
1462 revlogv1 1462 revlogv1
1497 changelog-v2: no no no 1497 changelog-v2: no no no
1498 plain-cl-delta: yes yes yes 1498 plain-cl-delta: yes yes yes
1499 compression: zlib zlib zlib (no-zstd !) 1499 compression: zlib zlib zlib (no-zstd !)
1500 compression: zstd zstd zstd (zstd !) 1500 compression: zstd zstd zstd (zstd !)
1501 compression-level: default default default 1501 compression-level: default default default
1502 $ cat .hg/requires 1502 $ hg debugrequires
1503 dotencode 1503 dotencode
1504 fncache 1504 fncache
1505 generaldelta 1505 generaldelta
1506 persistent-nodemap (rust !) 1506 persistent-nodemap (rust !)
1507 revlog-compression-zstd 1507 revlog-compression-zstd
1548 changelog-v2: no no no 1548 changelog-v2: no no no
1549 plain-cl-delta: yes yes yes 1549 plain-cl-delta: yes yes yes
1550 compression: zlib zlib zlib (no-zstd !) 1550 compression: zlib zlib zlib (no-zstd !)
1551 compression: zstd zstd zstd (zstd !) 1551 compression: zstd zstd zstd (zstd !)
1552 compression-level: default default default 1552 compression-level: default default default
1553 $ cat .hg/requires 1553 $ hg debugrequires
1554 dotencode 1554 dotencode
1555 exp-revlogv2.2 1555 exp-revlogv2.2
1556 fncache 1556 fncache
1557 generaldelta 1557 generaldelta
1558 persistent-nodemap (rust !) 1558 persistent-nodemap (rust !)
1596 changelog-v2: no no no 1596 changelog-v2: no no no
1597 plain-cl-delta: yes yes yes 1597 plain-cl-delta: yes yes yes
1598 compression: zlib zlib zlib (no-zstd !) 1598 compression: zlib zlib zlib (no-zstd !)
1599 compression: zstd zstd zstd (zstd !) 1599 compression: zstd zstd zstd (zstd !)
1600 compression-level: default default default 1600 compression-level: default default default
1601 $ cat .hg/requires 1601 $ hg debugrequires
1602 dotencode 1602 dotencode
1603 fncache 1603 fncache
1604 generaldelta 1604 generaldelta
1605 persistent-nodemap (rust !) 1605 persistent-nodemap (rust !)
1606 revlog-compression-zstd (zstd !) 1606 revlog-compression-zstd (zstd !)
1645 changelog-v2: no no no 1645 changelog-v2: no no no
1646 plain-cl-delta: yes yes yes 1646 plain-cl-delta: yes yes yes
1647 compression: zlib zlib zlib (no-zstd !) 1647 compression: zlib zlib zlib (no-zstd !)
1648 compression: zstd zstd zstd (zstd !) 1648 compression: zstd zstd zstd (zstd !)
1649 compression-level: default default default 1649 compression-level: default default default
1650 $ cat .hg/requires 1650 $ hg debugrequires
1651 dotencode 1651 dotencode
1652 exp-revlogv2.2 1652 exp-revlogv2.2
1653 fncache 1653 fncache
1654 generaldelta 1654 generaldelta
1655 persistent-nodemap (rust !) 1655 persistent-nodemap (rust !)