Comment 14 for bug 343218

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 343218] Re: Export with lightweight checkouts takes a lot of time

On Tue, 2009-12-15 at 20:24 +0000, Ulrich Müller wrote:
> > Can you try the associated branch? It just changes the calling code
> > to request all file content in one pass, rather than one file at a
> > time.
>
> This brings the time down from 54 min to 9 min.
>
> But it still accesses the repote repo during export (in fact, from the
> transferred volume I would conclude that everything is re-fetched over
> the network).

Yes, that is the case. bzr doesn't have a 'local cache' when you have a
lightweight checkout. We could look at some complex logic to use files
you have locally when they are not modified, and/or to get streaming in
place for this operation, but it will always be slower than when you
have local history.

-Rob