Page MenuHomePhabricator

revlog: fix error message when data are missing

Authored by marmoute on May 3 2021, 7:50 AM.



The error message the message was not using the requested offset, but the
adjusted offset to that read more data for improved caching. This resulted in
confusing error message.

Diff Detail

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

Event Timeline

marmoute created this revision.May 3 2021, 7:50 AM
baymax updated this revision to Diff 27506.May 3 2021, 9:44 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

Alphare accepted this revision.May 11 2021, 10:02 AM
Alphare added a subscriber: Alphare.

Ah I remember being confused, but I always assumed my code was bad (because it was).

This revision is now accepted and ready to land.May 11 2021, 10:02 AM
This revision was automatically updated to reflect the committed changes.