diff mercurial/debugcommands.py @ 44525:6c906eaedd0d

nodemap: track the tip_node for validation Differential Revision: https://phab.mercurial-scm.org/D8184
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 27 Feb 2020 16:32:43 +0100
parents febe88a6f7f7
children c989737158aa
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Thu Feb 27 15:42:04 2020 +0100
+++ b/mercurial/debugcommands.py	Thu Feb 27 16:32:43 2020 +0100
@@ -2136,6 +2136,7 @@
             docket, data = nm_data
             ui.write((b"uid: %s\n") % docket.uid)
             ui.write((b"tip-rev: %d\n") % docket.tip_rev)
+            ui.write((b"tip-node: %s\n") % hex(docket.tip_node))
             ui.write((b"data-length: %d\n") % docket.data_length)
             ui.write((b"data-unused: %d\n") % docket.data_unused)