branch | stable |
changeset 49559 | 7787174f0a5a |
parent 49376 | 6b04f702c501 |
child 49630 | c7fb9b74e753 |
--- a/rust/hg-core/src/revlog/revlog.rs Wed Nov 02 12:05:34 2022 +0100 +++ b/rust/hg-core/src/revlog/revlog.rs Thu Nov 03 14:58:58 2022 +0100 @@ -447,6 +447,11 @@ ) { Ok(data) } else { + if (self.flags & REVISION_FLAG_ELLIPSIS) != 0 { + return Err(HgError::unsupported( + "ellipsis revisions are not supported by rhg", + )); + } Err(corrupted(format!( "hash check failed for revision {}", self.rev