[darcs-users] darcs patch: Use index-based diffing inRecord. (and 74 more)

Sittampalam, Ganesh ganesh.sittampalam at credit-suisse.com
Wed Oct 7 12:44:02 UTC 2009


Eric Kow wrote:

> Also... (below is a non-blocker in my opinion)
> 
> Get rid of wait_a_moment, since we do not use pristine timestamps
> anymore. 
>
------------------------------------------------------------------------
--
>> -wait_a_moment :: IO ()
>> -wait_a_moment = do { sleep 1; return () }
>> -    -- HACKERY: In ghc 6.1, sleep has the type signature IO Int; it
>> -    -- returns an integer just like sleep(3) does. To stay
>> compatible 
>> -    -- with older versions, though, we just ignore sleep's return
>> -    -- value. Hackery, like I said.
> 
> I didn't see this mentioned anywhere, but I trust the two of you have
> worked out how this impacts old-fashioned repositories and whether or
> not we actually need to care...  

I believe that darcs-hs doesn't look at the timestamps any more, which
is (a) why it's slow on old-fashioned repos and (b) why this is no
longer necessary.

Ganesh

=============================================================================== 
 Please access the attached hyperlink for an important electronic communications disclaimer: 
 http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
 =============================================================================== 
 


More information about the darcs-users mailing list