On Tuesday, 27 June 2006 at 15:20, Adeodato Simó wrote:
...
> I could just rm -rf /tmp/darcs-repo, and have tailor update /tmp/tailor
> directly from arstecnica.it. The result is that it works, but it's
> excruciatingly slow.
> 
> Those who know their way inside darcs already know why, but it took me a
> bit to figure out: seems like, whilst the pulled-from-the-web repo in
> /tmp/darcs-repo has a optimized _darcs/inventory, going only from the
> last tag onwards, pulls are fast. But the _darcs/inventory file in the
> repo created by tailor in /tmp/tailor is not a short one, but a full
> one, thus making the pulling very slow.
> 
> What I did was an extra step:
> 
>   % cp /tmp/darcs-repo/_darcs/inventory /tmp/tailor/_darcs
>   % cp /tmp/darcs-repo/_darcs/inventories/* /tmp/tailor/_darcs/inventories
> 
> With this, it works the way I want, but I can't help wonder if tailor
> could do something so that the resulting repo in /tmp/tailor is useable
> right away.

My guess is that darcs optimize will fix the inventory.
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to