Mercurial > public > mercurial-scm > hg-stable
diff tests/test-issue522.t @ 37285: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 | 91a0bc50b288 |
line wrap: on
line diff
--- a/tests/test-issue522.t Mon Apr 02 16:28:20 2018 -0700 +++ b/tests/test-issue522.t Mon Apr 02 16:47:53 2018 -0700 @@ -48,8 +48,8 @@ c6fc755d7e68f49f880599da29f15add41f42f5a 644 foo $ hg debugindex foo - rev offset length linkrev nodeid p1 p2 - 0 0 5 0 2ed2a3912a0b 000000000000 000000000000 - 1 5 9 1 6f4310b00b9a 2ed2a3912a0b 000000000000 - 2 14 5 2 c6fc755d7e68 6f4310b00b9a 000000000000 + rev linkrev nodeid p1 p2 + 0 0 2ed2a3912a0b 000000000000 000000000000 + 1 1 6f4310b00b9a 2ed2a3912a0b 000000000000 + 2 2 c6fc755d7e68 6f4310b00b9a 000000000000