Mercurial > hg
diff tests/test-excessive-merge.t @ 37283:d4e62df1c73d
debugcommands: drop offset and length from debugindex by default
These fields are an implementation detail of revlog storage. As
such, they are not part of the generic storage "index" interface
and shouldn't be displayed by default.
Because we don't have another way to display these fields, we've
retained support for printing these fields via --verbose.
Yes, I know we should probably be doing all this formatting using
modern formatting/templater APIs. I didn't feel like scope
bloating this patch.
Differential Revision: https://phab.mercurial-scm.org/D3028
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 02 Apr 2018 16:47:53 -0700 |
parents | 009d0283de5f |
children | f1186c292d03 |
line wrap: on
line diff
--- a/tests/test-excessive-merge.t Mon Apr 02 16:28:20 2018 -0700 +++ b/tests/test-excessive-merge.t Mon Apr 02 16:47:53 2018 -0700 @@ -64,12 +64,12 @@ summary: test $ hg debugindex --changelog - rev offset length linkrev nodeid p1 p2 - 0 0 60 0 5e0375449e74 000000000000 000000000000 - 1 60 62 1 96155394af80 5e0375449e74 000000000000 - 2 122 62 2 92cc4c306b19 5e0375449e74 000000000000 - 3 184 69 3 e16a66a37edd 92cc4c306b19 96155394af80 - 4 253 69 4 2ee31f665a86 96155394af80 92cc4c306b19 + rev linkrev nodeid p1 p2 + 0 0 5e0375449e74 000000000000 000000000000 + 1 1 96155394af80 5e0375449e74 000000000000 + 2 2 92cc4c306b19 5e0375449e74 000000000000 + 3 3 e16a66a37edd 92cc4c306b19 96155394af80 + 4 4 2ee31f665a86 96155394af80 92cc4c306b19 revision 1 $ hg manifest --debug 1 @@ -89,9 +89,9 @@ 79d7492df40aa0fa093ec4209be78043c181f094 644 b $ hg debugindex a - rev offset length linkrev nodeid p1 p2 - 0 0 5 0 2ed2a3912a0b 000000000000 000000000000 - 1 5 6 1 79d7492df40a 2ed2a3912a0b 000000000000 + rev linkrev nodeid p1 p2 + 0 0 2ed2a3912a0b 000000000000 000000000000 + 1 1 79d7492df40a 2ed2a3912a0b 000000000000 $ hg verify checking changesets