On Sun, Dec 17, 2006 at 09:16:01PM +0100, Juliusz Chroboczek wrote:
> > With hashed inventories it will be possible to implement "lazy" partial
> > repositories, in which darcs downloads patch files as needed to do the
> > commands you ask, since we'll have the hash with which to verify that the
> > patch files haven't been commuted (and therefore are still in the proper
> > context for our use).
> 
> It will also be possible to do a
> 
>   darcs pull --sibling ../darcs-unstable http://darcs.net/repos/darcs
> 
> where a patch will be copied locally if it is found in the sibling
> repo.

And, in fact, I've thought that once hashed inventories are in, it'd make a
lot of sense on systems supporting hard links to by default stick all
patches in ~/.darcs/patches/ or something.  Possibly also supporting an env
variable to indicate a system-wide patch store, so that we could avoid the
inconvenience of specifying siblings, and could in certain circumstances
avoid a heck of a lot of patch copying (and copies).

> As should be clear from the above, I am convinced that hashed
> inventories are a Good Thing (tm).

:)

> [1] My vow of no hacking ends at the beginning of February.

Yay!
-- 
David Roundy
Department of Physics
Oregon State University

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to