bzr and biiig repo

Aaron Bentley aaron.bentley at utoronto.ca
Tue Dec 18 21:28:00 GMT 2007


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

John Arbash Meinel wrote:
> Alexander Belchenko wrote:
>> I suggest to file a bug report, but in the case with lightweight
>> checkout is not clear what exactly should be in the bug report.
> 
> With a lightweight checkout, it doesn't have to stream the history, and is
> probably correctly set up to just read one file at a time. (Note we are looking
> into switching to iter_files_bytes

Actually, checkouts already use iter_files_bytes-- it's just that right
now, they use a generic implementation built on get_lines

> which is a bit more likely to try to cache
> too much, but we'll get there).

There's nothing about the API that demands inefficiency; you can buffer
as little or as much as you like.  It produces iterators of bytes, but
the size of each yielded value is up to the producer.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFHaDtg0F+nu1YWqI0RAt0hAJwO2tTBE2jELc0BGXshWWGQrb9ePACXe0LP
cpn4Y1KP2GYkEuGsqAfmGA==
=rpQO
-----END PGP SIGNATURE-----



More information about the bazaar mailing list