( )⚙ D11939 dirstate-v2: Apply SECOND_AMBIGUOUS to directory mtimes too

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-v2: Apply SECOND_AMBIGUOUS to directory mtimes too
ClosedPublic

Authored by SimonSapin on Dec 17 2021, 8:18 AM.

Details

Summary

This would only be relevant in contrived scenarios such as a dirstate file
being written with a libc that supports sub-second precision in mtimes,
then transfered (at the filesystem level, not hg clone) to another
system where libc *doesn’t* have sub-second precision and truncates the stored
mtime of a directory to integer seconds.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

SimonSapin created this revision.Dec 17 2021, 8:18 AM
Alphare accepted this revision.Dec 17 2021, 8:58 AM
This revision is now accepted and ready to land.Dec 17 2021, 8:58 AM