( )⚙ D11631 dirstate-v2: Only convert from SystemTime to Timestamp and not back

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-v2: Only convert from SystemTime to Timestamp and not back
ClosedPublic

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

Details

Summary

Converting from Timestamp back to SystemTime was only used for equality
comparison, but this can also be done on Timestamp values.

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.