comparison tests/test-sidedata.t @ 49265:30d2beab8163

debugindex: add a `sd-chunk-size` column
author Pierre-Yves DAVID <pierre-yves.david@octobus.net>
date Wed, 01 Jun 2022 01:34:33 +0200
parents e3a267a93711
children da3e37ecacde
comparison
equal deleted inserted replaced
49264:e3a267a93711 49265:30d2beab8163
39 2 sidedata entries 39 2 sidedata entries
40 entry-0001 size 4 40 entry-0001 size 4
41 entry-0002 size 32 41 entry-0002 size 32
42 42
43 $ hg debug-revlog-index --verbose -c 43 $ hg debug-revlog-index --verbose -c
44 rev linkrev nodeid p1-rev p1-nodeid p2-rev p2-nodeid full-size delta-base flags comp-mode data-offset chunk-size sd-comp-mode sidedata-offset 44 rev linkrev nodeid p1-rev p1-nodeid p2-rev p2-nodeid full-size delta-base flags comp-mode data-offset chunk-size sd-comp-mode sidedata-offset sd-chunk-size
45 0 0 7049e48789d7 -1 000000000000 -1 000000000000 54 0 0 0 0 54 plain 0 45 0 0 7049e48789d7 -1 000000000000 -1 000000000000 54 0 0 0 0 54 plain 0 90
46 1 1 2707720c6597 0 7049e48789d7 -1 000000000000 54 1 0 0 54 54 plain 90 46 1 1 2707720c6597 0 7049e48789d7 -1 000000000000 54 1 0 0 54 54 plain 90 90
47 2 2 40f977031323 1 2707720c6597 -1 000000000000 55 2 0 0 108 55 plain 180 47 2 2 40f977031323 1 2707720c6597 -1 000000000000 55 2 0 0 108 55 plain 180 90
48 48
49 $ hg debug-revlog-index --verbose -m 49 $ hg debug-revlog-index --verbose -m
50 rev linkrev nodeid p1-rev p1-nodeid p2-rev p2-nodeid full-size delta-base flags comp-mode data-offset chunk-size sd-comp-mode sidedata-offset 50 rev linkrev nodeid p1-rev p1-nodeid p2-rev p2-nodeid full-size delta-base flags comp-mode data-offset chunk-size sd-comp-mode sidedata-offset sd-chunk-size
51 0 0 b85d294330e3 -1 000000000000 -1 000000000000 43 0 0 0 0 43 plain 0 51 0 0 b85d294330e3 -1 000000000000 -1 000000000000 43 0 0 0 0 43 plain 0 90
52 1 1 1a0aec305c63 0 b85d294330e3 -1 000000000000 86 0 0 0 43 55 plain 90 52 1 1 1a0aec305c63 0 b85d294330e3 -1 000000000000 86 0 0 0 43 55 plain 90 90
53 2 2 104258a4f75f 1 1a0aec305c63 -1 000000000000 86 1 0 0 98 55 plain 180 53 2 2 104258a4f75f 1 1a0aec305c63 -1 000000000000 86 1 0 0 98 55 plain 180 90
54 54
55 Check upgrade behavior 55 Check upgrade behavior
56 ====================== 56 ======================
57 57
58 Right now, sidedata has not upgrade support 58 Right now, sidedata has not upgrade support