cli: add a test of `hg debugnodemap --manifest`
authorArseniy Alekseyev <aalekseyev@janestreet.com>
Mon, 22 May 2023 10:20:24 +0100
changeset 50511 c847a3e82056
parent 50510 4fe46f96b56b
child 50512 a32d739b0ffb
cli: add a test of `hg debugnodemap --manifest` this is a new option that's not tested yet
tests/test-persistent-nodemap.t
--- a/tests/test-persistent-nodemap.t	Thu May 18 19:37:12 2023 +0100
+++ b/tests/test-persistent-nodemap.t	Mon May 22 10:20:24 2023 +0100
@@ -90,6 +90,14 @@
   $ f --size .hg/store/00changelog.n
   .hg/store/00changelog.n: size=62
 
+  $ hg debugnodemap --metadata --manifest
+  uid: ???????? (glob)
+  tip-rev: 5000
+  tip-node: 513d42790a19f0f60c6ebea54b9543bc9537b959
+  data-length: 120960
+  data-unused: 0
+  data-unused: 0.000%
+
 Simple lookup works
 
   $ ANYNODE=`hg log --template '{node|short}\n' --rev tip`