Skip to content
Snippets Groups Projects
Commit 3df00f90 authored by Simon Sapin's avatar Simon Sapin
Browse files

persistent-nodemap: add test case reproducing a Rust panic

Thanks to Mitchell Plamann for reporting this bug.
The next commit fixes it.

Differential Revision: https://phab.mercurial-scm.org/D9900
parent 5b747aa1
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,15 @@
#endif
#if rust
Reported bug: some Rust code panics when handling the null revision
$ hg log -r 00000000 2>&1 | grep panicked
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', hg-cpython/src/revlog.rs:* (glob)
#endif
$ hg debugformat
format-variant repo
......
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