diff tests/test-commit.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 5abc47d4ca6b
line wrap: on
line diff
--- a/tests/test-commit.t	Mon Apr 02 16:28:20 2018 -0700
+++ b/tests/test-commit.t	Mon Apr 02 16:47:53 2018 -0700
@@ -624,9 +624,9 @@
   $ hg debugrename foo
   foo renamed from bar:26d3ca0dfd18e44d796b564e38dd173c9668d3a9
   $ hg debugindex bar
-     rev    offset  length linkrev nodeid       p1           p2
-       0         0       6       0 26d3ca0dfd18 000000000000 000000000000
-       1         6       7       1 d267bddd54f7 26d3ca0dfd18 000000000000
+     rev linkrev nodeid       p1           p2
+       0       0 26d3ca0dfd18 000000000000 000000000000
+       1       1 d267bddd54f7 26d3ca0dfd18 000000000000
 
 Test making empty commits
   $ hg commit --config ui.allowemptycommit=True -m "empty commit"