Skip to content
Snippets Groups Projects
Commit 6aae0e1e authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

test-revlog: adds a non-root revision with a delta against nullrev

Using a revision with non-null parents makes it a different case that is worthy
of testing.
parent 996a70c7
No related branches found
No related tags found
2 merge requests!168branching: merge default into stable,!134more testing for delta against nullrev
......@@ -27,6 +27,8 @@
cd nullrev-diff
echo hi > a
../../../hg commit -Am root-B
echo ho > a
../../../hg commit -Am child-A
../../../hg debugdeltachain a
rm -rf .hg/cache/ .hg/wcache/
cd ..
......
No preview for this file type
......@@ -78,5 +78,6 @@
$ hg debugdeltachain a
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
1 0 -1 1 2 -1 p2 15 3 15 5.00000 30 15 1.00000 30 30 0.50000 1
$ hg cat --config rhg.cat=true -r 0 a
hi
......@@ -81,3 +82,5 @@
$ hg cat --config rhg.cat=true -r 0 a
hi
$ hg cat --config rhg.cat=true -r 1 a
ho
$ cd ..
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment