Mercurial > public > mercurial-scm > hg-stable
diff tests/test-persistent-nodemap.t @ 44361:20e125cdd719
nodemap: add basic checking of the on disk nodemap content
The simplest check it so verify we have all the revision we needs, and nothing
more.
Differential Revision: https://phab.mercurial-scm.org/D7845
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 15 Jan 2020 15:48:57 +0100 |
parents | 6f9e8e142cea |
children | 50ad851efd9b |
line wrap: on
line diff
--- a/tests/test-persistent-nodemap.t Wed Jan 15 15:48:47 2020 +0100 +++ b/tests/test-persistent-nodemap.t Wed Jan 15 15:48:57 2020 +0100 @@ -36,6 +36,9 @@ 00d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| 00e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| 00f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| + $ hg debugnodemap --check + revision in index: 5001 + revision in nodemap: 5001 add a new commit @@ -48,3 +51,6 @@ .hg/store/00changelog.n: size=18 $ f --sha256 .hg/store/00changelog-*.nd --size .hg/store/00changelog-????????????????.nd: size=122880, sha256=bfafebd751c4f6d116a76a37a1dee2a251747affe7efbcc4f4842ccc746d4db9 (glob) + $ hg debugnodemap --check + revision in index: 5002 + revision in nodemap: 5002