Mercurial > hg
comparison tests/test-issue522.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 | 2fc86d92c4a9 |
children | d4e62df1c73d |
comparison
equal
deleted
inserted
replaced
37281:806b07d7c7d6 | 37282:009d0283de5f |
---|---|
46 | 46 |
47 $ hg manifest --debug | grep foo | 47 $ hg manifest --debug | grep foo |
48 c6fc755d7e68f49f880599da29f15add41f42f5a 644 foo | 48 c6fc755d7e68f49f880599da29f15add41f42f5a 644 foo |
49 | 49 |
50 $ hg debugindex foo | 50 $ hg debugindex foo |
51 rev offset length ..... linkrev nodeid p1 p2 (re) | 51 rev offset length linkrev nodeid p1 p2 |
52 0 0 5 ..... 0 2ed2a3912a0b 000000000000 000000000000 (re) | 52 0 0 5 0 2ed2a3912a0b 000000000000 000000000000 |
53 1 5 9 ..... 1 6f4310b00b9a 2ed2a3912a0b 000000000000 (re) | 53 1 5 9 1 6f4310b00b9a 2ed2a3912a0b 000000000000 |
54 2 14 5 ..... 2 c6fc755d7e68 6f4310b00b9a 000000000000 (re) | 54 2 14 5 2 c6fc755d7e68 6f4310b00b9a 000000000000 |
55 | 55 |