[darcs-users] TortoiseDarcs and Darcs 2 Hashed Repos

David Roundy daveroundy at gmail.com
Sat Oct 11 11:32:33 UTC 2008


On Fri, Oct 10, 2008 at 5:53 AM, Grant Husbands
<grant.husbands at businesswebsoftware.com> wrote:
> David Roundy wrote (accidentally off-list):
>> No, but we don't store any other timestamp.  In that case, darcs will
>> have to go ahead and compare the actual file contents to see if
>> anything has changed.
>
> Confirmed - I did some experiments and the modified times of the pristine
> files don't correspond in any way to the timestamps.
>
> I'd say the current situation less than ideal for both darcs and
> TortoiseDarcs, as timestamp comparison offers a rapid way of (almost)
> knowing that a file hasn't changed. As TortoiseDarcs needs to do the
> comparison every time the user sees an in-repo file listing, I think this is
> a significant problem.

Were your tests done by  any chance with a darcs compiled with ghc
6.8.2 or earlier (but post ghc 6.6)? If so, you may suffering from a
ghc bug.  Or maybe there's a bug in the windows-specific code.  I
don't know.  But what you're describing is definitely a bug, since
darcs does track time stamps.

David


More information about the darcs-users mailing list