comparison tests/test-flags.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 eb9835014d20
comparison
equal deleted inserted replaced
37282:009d0283de5f 37283:d4e62df1c73d
142 -rwxr-x--- 142 -rwxr-x---
143 -rwxr-x--- 143 -rwxr-x---
144 -rwxr-x--- 144 -rwxr-x---
145 145
146 $ hg debugindex a 146 $ hg debugindex a
147 rev offset length linkrev nodeid p1 p2 147 rev linkrev nodeid p1 p2
148 0 0 0 0 b80de5d13875 000000000000 000000000000 148 0 0 b80de5d13875 000000000000 000000000000
149 $ hg debugindex -R ../test2 a 149 $ hg debugindex -R ../test2 a
150 rev offset length linkrev nodeid p1 p2 150 rev linkrev nodeid p1 p2
151 0 0 0 0 b80de5d13875 000000000000 000000000000 151 0 0 b80de5d13875 000000000000 000000000000
152 $ hg debugindex -R ../test1 a 152 $ hg debugindex -R ../test1 a
153 rev offset length linkrev nodeid p1 p2 153 rev linkrev nodeid p1 p2
154 0 0 0 0 b80de5d13875 000000000000 000000000000 154 0 0 b80de5d13875 000000000000 000000000000
155 1 0 5 1 7fe919cc0336 b80de5d13875 000000000000 155 1 1 7fe919cc0336 b80de5d13875 000000000000
156 156
157 $ cd .. 157 $ cd ..