This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-v2: Separate Rust structs for Timestamp and PackedTimestamp
ClosedPublic

Authored by SimonSapin on Oct 12 2021, 1:00 PM.

Details

Summary

PackedTimestamp is now exclusively for dirstate-v2 serialization purpose.
It contains unaligned big-endian integers. Timestamp is used everywhere else
and contains native Rust integers.

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.Oct 12 2021, 1:00 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.