[darcs-users] questions about '--partial' for doc enhancement.

David Roundy droundy at abridgegame.org
Thu Jan 6 13:42:15 UTC 2005


On Thu, Jan 06, 2005 at 12:03:57AM +0100, Juliusz Chroboczek wrote:
> Optimize has the following effect:
> 
>  (1) it will always reorder the inventory to coincide with history;

Not quite.  It doesn't reorder the inventory, but rather breaks up the
inventory on the most recent tag.

This speeds up most commands when run remotely, both because a smaller file
needs to be transfered (only the most recent inventory).  It also because
it gives a guarantee that all the patches prior to a given tag are included
in that tag, so less commutation and history traversal is needed.  This
latter issue can become very important in large repositories, so the
cvs2darcs script runs optimize every thousand patches to avoid O(n^2)
behavior in tag operations.

> > 2. What happens if you don't specify any of the compression options?  

Basically, the compression options are orthogonal to the other operations,
so the compressio is unmodified.  The --dont-compress is equivalent to no
compression options at all--it means to neither compress nor uncompress
patches.
-- 
David Roundy
http://www.darcs.net




More information about the darcs-users mailing list