( )⚙ D11962 rhg: RevlogEntry::uncompressed_len is signed

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: RevlogEntry::uncompressed_len is signed
ClosedPublic

Authored by SimonSapin on Jan 6 2022, 1:56 PM.

Details

Summary

The corresponding Python code appears to explicitly check for non-negative values.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

SimonSapin created this revision.Jan 6 2022, 1:56 PM
Alphare accepted this revision.Jan 7 2022, 4:37 AM
Alphare added a subscriber: Alphare.

Probably vestigial, but I agree it's safer to do this

This revision is now accepted and ready to land.Jan 7 2022, 4:37 AM
This revision was automatically updated to reflect the committed changes.