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 resolved
Milestone Resolved in
Superseder Nosy List ganesh
Assigned To
Topics

Created on 2013-01-25.23:04:41 by ganesh, last changed 2023-03-28.17:02:08 by bfrk.

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
msg23215 (view) Author: bfrk Date: 2023-03-28.17:02:08
patch 7bc51cb780c043862c891bac5a589892b259d911
Author: Ben Franksen <ben.franksen@online.de>
Date:   Wed Oct 28 00:45:49 CET 2020
  * index: use high resolution timestamps
History
Date User Action Args
2013-01-25 23:04:41ganeshcreate
2023-03-28 17:02:08bfrksetstatus: needs-implementation -> resolved
messages: + msg23215