diff tests/test-narrow-update.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 6767e7ce2c31
children d4e62df1c73d
line wrap: on
line diff
--- a/tests/test-narrow-update.t	Mon Apr 02 16:24:57 2018 -0700
+++ b/tests/test-narrow-update.t	Mon Apr 02 16:28:20 2018 -0700
@@ -33,11 +33,11 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ cd narrow
   $ hg debugindex -c
-     rev    offset  length   base linkrev nodeid       p1           p2
-       0         0      64      0       0 9958b1af2add 000000000000 000000000000
-       1        64      81      1       1 2db4ce2a3bfe 9958b1af2add 000000000000
-       2       145      75      2       2 0980ee31a742 2db4ce2a3bfe 000000000000
-       3       220      (76|77)      3       3 4410145019b7 0980ee31a742 000000000000 (re)
+     rev    offset  length linkrev nodeid       p1           p2
+       0         0      64       0 9958b1af2add 000000000000 000000000000
+       1        64      81       1 2db4ce2a3bfe 9958b1af2add 000000000000
+       2       145      75       2 0980ee31a742 2db4ce2a3bfe 000000000000
+       3       220      (76|77)       3 4410145019b7 0980ee31a742 000000000000 (re)
 
   $ hg update -q 0