##// END OF EJS Templates
rust-revlog: fix RevlogEntry.data() for NULL_REVISION...
rust-revlog: fix RevlogEntry.data() for NULL_REVISION Before this change, the pseudo-entry returned by `Revlog.get_entry` for `NULL_REVISION` would trigger errors in application code using it. For example, this fixes a crash spotted with changelog data while implementing RHGitaly: `Changelog.data_for_rev(-1)` was already returning the pseudo content as expected, e.g., for `hg log`, but `Changelog.entry_for_rev(-1).data()` would still crash with "corrupted revlog, hash check failed for revision -1". There is an added test for this scenario.

File last commit:

r45503:cf04f62d default
r51639:124c44b5 stable
Show More
Cargo.toml
3 lines | 82 B | application/toml | TOMLLexer
Gregory Szorc
rust: implementation of `hg`...
r35587 [workspace]
Antoine Cezar
rhg: add rhg crate...
r45503 members = ["hg-core", "hg-cpython", "rhg"]
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128 exclude = ["chg", "hgcli"]