[darcs-users] no more checkpoints, but hashed repos for GHC in Darcs 2.4?

Ganesh Sittampalam ganesh at earth.li
Sat Sep 19 00:10:15 UTC 2009

On Thu, 17 Sep 2009, Petr Rockai wrote:

> Eric Kow <kowey at darcs.net> writes:
>>>   - dividing the cache into subdirectories to avoid bad filesystem
>>>     performance with large directories.
>> That's http://bugs.darcs.net/issue1536 :-)
>> Petr: how do you feel about this?  Do you rate this as being easier
>> than packs?  Is it realistic to want this in Darcs 2.4?  I am also
>> concerned about backward compatibility.  How do we handle this?  Format
>> change?

> For cache, this should be quite simple. For repos, this would be 
> incompatible change and we probably can't afford to do it just yet.

Isn't it a straightforward format change? Add support to hashed-storage, 
add an extra line to the format to lock out older darcs and to drive the 
decision to read/write the new format, perhaps add a conversion command to 
darcs (otherwise make people re-get to switch formats), and that's it?


More information about the darcs-users mailing list