comparison tests/test-issue522.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 91a0bc50b288
comparison
equal deleted inserted replaced
37282:009d0283de5f 37283:d4e62df1c73d
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 51 rev linkrev nodeid p1 p2
52 0 0 5 0 2ed2a3912a0b 000000000000 000000000000 52 0 0 2ed2a3912a0b 000000000000 000000000000
53 1 5 9 1 6f4310b00b9a 2ed2a3912a0b 000000000000 53 1 1 6f4310b00b9a 2ed2a3912a0b 000000000000
54 2 14 5 2 c6fc755d7e68 6f4310b00b9a 000000000000 54 2 2 c6fc755d7e68 6f4310b00b9a 000000000000
55 55