Mercurial > public > mercurial-scm > hg
diff tests/test-debugcommands.t @ 53005:8c85d139ff64
cleanup: remove the reporevlogstore condition in test
This is a follow up to e6069f84abbb. It turns about that there are multiple test
condition that needs cleanup. This handle the usage of the first one.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 21 Feb 2025 22:05:59 -0500 |
parents | f0bee30af890 |
children | 4d2b496cb7b8 |
line wrap: on
line diff
--- a/tests/test-debugcommands.t Fri Feb 21 14:37:57 2025 -0500 +++ b/tests/test-debugcommands.t Fri Feb 21 22:05:59 2025 -0500 @@ -14,7 +14,6 @@ $ hg revert --all -r 0 adding a $ hg ci -Am make-it-full -#if reporevlogstore $ hg debugrevlog -c format : 1 flags : (none) @@ -125,7 +124,6 @@ full revision size (min/max/avg) : 3 / 3 / 3 inter-snapshot size (min/max/avg) : 0 / 0 / 0 delta size (min/max/avg) : 0 / 0 / 0 -#endif Test debugindex, with and without the --verbose/--debug flag $ hg debugrevlogindex a @@ -185,12 +183,7 @@ debugdelta chain basic output -#if reporevlogstore pure rust - $ hg debugindexstats - abort: debugindexstats only works with native C code - [255] -#endif -#if reporevlogstore no-pure no-rust +#if no-pure no-rust $ hg debugindexstats node trie capacity: 4 node trie count: 2 @@ -202,9 +195,13 @@ node trie misses: 1 node trie splits: 1 revs in memory: 3 +#else + $ hg debugindexstats + abort: debugindexstats only works with native C code + [255] #endif -#if reporevlogstore no-pure +#if no-pure $ hg debugdeltachain -m --all-info rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio readsize largestblk rddensity srchunks 0 -1 -1 1 1 -1 base 44 43 44 1.02326 44 0 0.00000 44 44 1.00000 1