HomePhabricator

dirstate-v2: Separate Rust structs for Timestamp and PackedTimestamp

Authored by SimonSapin.

Description

dirstate-v2: Separate Rust structs for Timestamp and PackedTimestamp

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.

Differential Revision: https://phab.mercurial-scm.org/D11632