Mercurial > hg
changeset 50984:2dcb6a6c7540 stable
tests: reproduce the nullrev bug in an end-to-end test
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 14 Sep 2023 11:03:41 +0100 |
parents | 75d3306fbc9a |
children | 363620b934aa |
files | tests/test-rhg.t |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-rhg.t Wed Jun 21 21:57:44 2023 +0200 +++ b/tests/test-rhg.t Thu Sep 14 11:03:41 2023 +0100 @@ -27,6 +27,8 @@ Reading and setting configuration $ echo "[ui]" >> $HGRCPATH $ echo "username = user1" >> $HGRCPATH + $ echo "[extensions]" >> $HGRCPATH + $ echo "sparse =" >> $HGRCPATH $ $NO_FALLBACK rhg config ui.username user1 $ echo "[ui]" >> .hg/hgrc @@ -309,6 +311,13 @@ .hg/store/00changelog.i .hg/store/00changelog.n +Rhg status on a sparse repo with nodemap (this specific combination used to crash in 6.5.2) + + $ hg debugsparse -X excluded-dir + $ $NO_FALLBACK rhg status + abort: dirstate points to non-existent parent node + [255] + Specifying revisions by changeset ID $ $NO_FALLBACK rhg files -r c3ae8dec9fad of