( )⚙ D11702 dirstate-v2: actually use sub-second mtime precision

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-v2: actually use sub-second mtime precision
ClosedPublic

Authored by marmoute on Oct 19 2021, 6:03 PM.

Details

Summary

Instead of zero, set the nanoseconds field to its correct value whenever
possible and preserve it across serialization+parsing.

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

marmoute created this revision.Oct 19 2021, 6:03 PM
Alphare accepted this revision.Oct 20 2021, 4:40 AM
This revision is now accepted and ready to land.Oct 20 2021, 4:40 AM
marmoute updated this revision to Diff 30933.Oct 20 2021, 5:12 AM
This revision was automatically updated to reflect the committed changes.