( )⚙ D11632 dirstate-v2: Separate Rust structs for Timestamp and PackedTimestamp

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.