[MERGE] Implement and use Repository.iter_files_bytes

Aaron Bentley aaron.bentley at utoronto.ca
Mon Aug 20 15:37:13 BST 2007


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

Here is a new version that I hope will address Martin's and Robert's
reviews.

I have updated the docstring to be clearer about what identifiers are.

I have tested the two major error cases: revision not present and
file-id not present.

Since there is no interface between TreeTransform and iter_files_bytes,
I have not tested that.  iter_files_bytes is used by revert and
build_tree, and causing them to generate either kind of error would
require mocking up a malformed tree to pass as input.

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

iD8DBQFGyacZ0F+nu1YWqI0RAiquAJ9gw91KJ3skuvDToJ1qFNkjdXsgOQCaA8X7
QBHHenXxUodrAirkmQKJFDM=
=za+Q
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iter-file-bytes-2.patch
Type: text/x-patch
Size: 25248 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070820/0110aab0/attachment-0001.bin 


More information about the bazaar mailing list