##// 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.
Georges Racinet -
r51639:124c44b5 stable
Show More
Name Size Modified Last Commit Author
/ relnotes
5.1 Loading ...
5.2 Loading ...
5.3 Loading ...
5.4 Loading ...
5.5 Loading ...
5.6 Loading ...
5.7 Loading ...
5.8 Loading ...
5.9 Loading ...
6.0 Loading ...
6.1 Loading ...
6.2 Loading ...
6.3 Loading ...
6.4 Loading ...
6.5 Loading ...
next Loading ...