Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/revlog.rs @ 49585:18282cf18aa2
branching: merge stable into default
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 14 Nov 2022 10:59:09 +0100 |
parents | 7787174f0a5a |
children | c7fb9b74e753 |
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/revlog.rs Mon Nov 07 09:25:20 2022 +0100 +++ b/rust/hg-core/src/revlog/revlog.rs Mon Nov 14 10:59:09 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