Mercurial > hg
comparison tests/test-excessive-merge.t @ 37282:009d0283de5f
debugcommands: drop base revision from debugindex
Revlog index data consists of generic index metadata that will
likely be implemented across all storage engines and revlog-specifc
metadata.
Most tests printing index data only care about the generic fields.
This commit drops the printing of the base revision from
`hg debugindex`. This value is an implementation detail of
revlogs / delta chains. If tests are interested in verifying this
implementation detail, `hg debugdeltachain` is a better command.
Most tests were skipping over this field anyway. Tests that weren't
looked like they were newer. So my guess is we forgot to make them
skip the field to match the style of the older tests. This reinforces
my belief that the base revision is not worth having in
`hg debugindex`.
Differential Revision: https://phab.mercurial-scm.org/D3027
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 02 Apr 2018 16:28:20 -0700 |
parents | b7a966ce89ed |
children | d4e62df1c73d |
comparison
equal
deleted
inserted
replaced
37281:806b07d7c7d6 | 37282:009d0283de5f |
---|---|
62 user: test | 62 user: test |
63 date: Thu Jan 01 00:00:00 1970 +0000 | 63 date: Thu Jan 01 00:00:00 1970 +0000 |
64 summary: test | 64 summary: test |
65 | 65 |
66 $ hg debugindex --changelog | 66 $ hg debugindex --changelog |
67 rev offset length ..... linkrev nodeid p1 p2 (re) | 67 rev offset length linkrev nodeid p1 p2 |
68 0 0 60 ..... 0 5e0375449e74 000000000000 000000000000 (re) | 68 0 0 60 0 5e0375449e74 000000000000 000000000000 |
69 1 60 62 ..... 1 96155394af80 5e0375449e74 000000000000 (re) | 69 1 60 62 1 96155394af80 5e0375449e74 000000000000 |
70 2 122 62 ..... 2 92cc4c306b19 5e0375449e74 000000000000 (re) | 70 2 122 62 2 92cc4c306b19 5e0375449e74 000000000000 |
71 3 184 69 ..... 3 e16a66a37edd 92cc4c306b19 96155394af80 (re) | 71 3 184 69 3 e16a66a37edd 92cc4c306b19 96155394af80 |
72 4 253 69 ..... 4 2ee31f665a86 96155394af80 92cc4c306b19 (re) | 72 4 253 69 4 2ee31f665a86 96155394af80 92cc4c306b19 |
73 | 73 |
74 revision 1 | 74 revision 1 |
75 $ hg manifest --debug 1 | 75 $ hg manifest --debug 1 |
76 79d7492df40aa0fa093ec4209be78043c181f094 644 a | 76 79d7492df40aa0fa093ec4209be78043c181f094 644 a |
77 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 b | 77 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 b |
87 $ hg manifest --debug 4 | 87 $ hg manifest --debug 4 |
88 79d7492df40aa0fa093ec4209be78043c181f094 644 a | 88 79d7492df40aa0fa093ec4209be78043c181f094 644 a |
89 79d7492df40aa0fa093ec4209be78043c181f094 644 b | 89 79d7492df40aa0fa093ec4209be78043c181f094 644 b |
90 | 90 |
91 $ hg debugindex a | 91 $ hg debugindex a |
92 rev offset length ..... linkrev nodeid p1 p2 (re) | 92 rev offset length linkrev nodeid p1 p2 |
93 0 0 5 ..... 0 2ed2a3912a0b 000000000000 000000000000 (re) | 93 0 0 5 0 2ed2a3912a0b 000000000000 000000000000 |
94 1 5 6 ..... 1 79d7492df40a 2ed2a3912a0b 000000000000 (re) | 94 1 5 6 1 79d7492df40a 2ed2a3912a0b 000000000000 |
95 | 95 |
96 $ hg verify | 96 $ hg verify |
97 checking changesets | 97 checking changesets |
98 checking manifests | 98 checking manifests |
99 crosschecking files in changesets and manifests | 99 crosschecking files in changesets and manifests |