Mercurial > hg
diff tests/test-revlog.t @ 49221:75d0775dce7f
debugdeltachain: also display p1/p2
Looking at the parents is a common need when trying to understanding why a delta
was chosen, having it readily available helps a lot.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 18 May 2022 17:22:32 +0100 |
parents | cc92ad0e8185 |
children | 6aae0e1ecdbc |
line wrap: on
line diff
--- a/tests/test-revlog.t Wed May 18 16:50:55 2022 +0100 +++ b/tests/test-revlog.t Wed May 18 17:22:32 2022 +0100 @@ -76,8 +76,8 @@ $ tar --force-local -xf "$TESTDIR"/bundles/test-revlog-diff-relative-to-nullrev.tar $ cd nullrev-diff $ hg debugdeltachain a - rev chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio readsize largestblk rddensity srchunks - 0 1 2 -1 p1 15 3 15 5.00000 15 0 0.00000 15 15 1.00000 1 + rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio readsize largestblk rddensity srchunks + 0 -1 -1 1 2 -1 p1 15 3 15 5.00000 15 0 0.00000 15 15 1.00000 1 $ hg cat --config rhg.cat=true -r 0 a hi $ cd ..