Comment 16 for bug 343218

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 343218] Re: Export with lightweight checkouts takes a lot of time

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> 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
>

Note that the change I made (and proposed) does handle streaming. Hence
the 54 min => 9 min.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksn9cYACgkQJdeBCYSNAANrcgCgsoAWLXzYH2PbIhHpNVxLPeHP
XWEAoICfr6cSWVpm+3eKvaVuQmn+5cTm
=jPC9
-----END PGP SIGNATURE-----