Page MenuHomePhabricator

dirstate: ignore sub-second component when either is zero in mtime
ClosedPublic

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

Details

Summary

When comparing mtimes for equality.

Some APIs simply return zero when more precision is not available.
When comparing values from different sources, if only one is truncated in
that way, doing a simple comparison would cause many false negatives.

Diff Detail

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