diff tests/test-changelog-exec.t @ 37282:009d0283de5f

debugcommands: drop base revision from debugindex Revlog index data consists of generic index metadata that will likely be implemented across all storage engines and revlog-specifc metadata. Most tests printing index data only care about the generic fields. This commit drops the printing of the base revision from `hg debugindex`. This value is an implementation detail of revlogs / delta chains. If tests are interested in verifying this implementation detail, `hg debugdeltachain` is a better command. Most tests were skipping over this field anyway. Tests that weren't looked like they were newer. So my guess is we forgot to make them skip the field to match the style of the older tests. This reinforces my belief that the base revision is not worth having in `hg debugindex`. Differential Revision: https://phab.mercurial-scm.org/D3027
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 02 Apr 2018 16:28:20 -0700
parents e6e7ef68c879
children d4e62df1c73d
line wrap: on
line diff
--- a/tests/test-changelog-exec.t	Mon Apr 02 16:24:57 2018 -0700
+++ b/tests/test-changelog-exec.t	Mon Apr 02 16:28:20 2018 -0700
@@ -51,7 +51,7 @@
   
 
   $ hg debugindex bar
-     rev    offset  length  ..... linkrev nodeid       p1           p2 (re)
-       0         0       5  .....       1 b004912a8510 000000000000 000000000000 (re)
+     rev    offset  length linkrev nodeid       p1           p2
+       0         0       5       1 b004912a8510 000000000000 000000000000
 
   $ cd ..