Skip to content
Snippets Groups Projects
Commit a5a673ec authored by Simon Sapin's avatar Simon Sapin
Browse files

dirstate-v2: Change the representation of negative directory mtime

Change it from how I previously thought C’s `timespec` works
to how it actually works.

The previous behavior was also buggy for timestamps strictly before the
epoch but less than one second away from it, because two’s complement
does not distinguish negative zero from positive zero.

Differential Revision: https://phab.mercurial-scm.org/D11629
parent 0cc0c097
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment