[darcs-devel] [issue2295] file index should use sub-second resolution if possible

Ganesh Sittampalam bugs at darcs.net
Fri Jan 25 23:04:41 UTC 2013


New submission from Ganesh Sittampalam <ganesh at earth.li>:

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

----------
messages: 16557
nosy: ganesh
priority: feature
status: needs-implementation
title: file index should use sub-second resolution if possible

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2295>
__________________________________


More information about the darcs-devel mailing list