Mercurial > hg
diff tests/test-rhg-no-generaldelta.t @ 48458:96ea4db4741b
rhg: fix a crash on non-generaldelta revlogs
Differential Revision: https://phab.mercurial-scm.org/D11882
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Tue, 07 Dec 2021 18:57:43 +0000 |
parents | e33d7c39db47 |
children |
line wrap: on
line diff
--- a/tests/test-rhg-no-generaldelta.t Tue Dec 07 18:12:13 2021 +0000 +++ b/tests/test-rhg-no-generaldelta.t Tue Dec 07 18:57:43 2021 +0000 @@ -1,4 +1,3 @@ - $ NO_FALLBACK="env RHG_ON_UNSUPPORTED=abort" $ cat << EOF >> $HGRCPATH @@ -21,9 +20,27 @@ 1 0 prev 2 1 prev -rhg breaks on non-generaldelta revlogs: +rhg works on non-generaldelta revlogs: - $ $NO_FALLBACK hg cat f -r . | f --sha256 --size - abort: corrupted revlog (rhg !) - size=0, sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 (rhg !) - size=58, sha256=0cf0386dd4813cc3b957ea790146627dfc0ec42ad3fcf47221b9842e4d5764c1 (no-rhg !) + $ $NO_FALLBACK hg cat f -r . + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + footer