This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-v2: Allow tree nodes without an entry to store a timestamp
ClosedPublic

Authored by SimonSapin on Jun 1 2021, 12:50 PM.

Details

Summary

Timestamps are stored on 96 bits:

  • 64 bits for the signed number of seconds since the Unix epoch
  • 32 bits for the nanoseconds in the 0 <= ns < 1_000_000_000 range

For now timestamps are not used or set yet.

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.Jun 1 2021, 12:50 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.
baymax updated this revision to Diff 28383.Jun 1 2021, 5:05 PM

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