[darcs-users] Re: Bug#316375: arch2darcs: darcs diff shows changes after import

David Roundy droundy at darcs.net
Fri Jul 1 10:39:22 UTC 2005


On Thu, Jun 30, 2005 at 09:02:01PM -0500, John Goerzen wrote:
> Hi everyone,

Hello!

> I got a strange report over at http://bugs.debian.org/316375 that I'm trying
> to track down.  I'm not sure if this is a bug in darcs or tla, but I'm
> leaning towards darcs as the culprit.   There seems to be a
> non-deterministic difference in behavior of darcs diff on a repository
> converted from arch to darcs using arch2darcs (which is nothing more
> than a thin wrapper that invokes both tools via their respective
> command-line interfaces).

This sounds to me like a problem that might be solvable using
--ignore-times when calling darcs (either within the arch2darcs script, or
when examining the repo later).  Or it may be fixable by inserting sleep
commands in the arch2darcs script.  Basically it sounds like you're
modifying a file within a second of when changes to that file were
recorded, so darcs sees the same timestamp and doesn't bother checking to
see if it's changed.
-- 
David Roundy
http://www.darcs.net




More information about the darcs-users mailing list