darcs

Issue 2295 file index should use sub-second resolution if possible

Title file index should use sub-second resolution if possible
Priority feature Status needs-implementation
Milestone Resolved in
Superseder Nosy List ganesh
Assigned To
Topics

Created on 2013-01-25.23:04:41 by ganesh, last changed 2013-01-25.23:04:41 by ganesh.

Messages
msg16557 (view) Author: ganesh Date: 2013-01-25.23:04:40
The file index is limited to 1s resolution, which means that scripted use of darcs needs to use --
ignore-times to avoid it incorrectly reporting that files haven't changed.

There are at options for getting higher resolution timestamps from at least some filesystems: we 
should use them if possible.



Notes:

 - See http://hackage.haskell.org/trac/ghc/ticket/7473
 - POSIX.1-2008 specifies st_atim.tv_nsec
 - Win32 API needs to be done separately
 - Need to bump index version and widen the timestamp
History
Date User Action Args
2013-01-25 23:04:41ganeshcreate