[darcs-devel] Darcs with tight web space [was: darcs patch]

David Brown darcs at davidb.org
Fri Jul 2 12:33:39 PDT 2004


On Fri, Jul 02, 2004 at 08:19:35PM +0200, Juliusz Chroboczek wrote:

> Yes, I'm planning this (for the very reason Peter mentioned).  In such
> a repo, |_darcs/current| will just be a file that only contains a list
> of files and their SHA1 hashes.  Everything should still work in such
> a repository, and you'll have the full falidation semantics of darcs,
> but many things will be slower (sometimes very much so).

How can you compute the SHA1 hash of a new patched file without the
original one?  Reconstructing the file from the entire patch tree would
be inefficient.

Without the hashes, this repo could just be used to manipulate patches.

Dave




More information about the darcs-devel mailing list