[MERGE] Faster code for pushing from packs back into knits
Aaron Bentley
aaron.bentley at utoronto.ca
Tue Nov 20 19:05:15 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel wrote:
> + # TODO: jam 20071116 It would be nice to have a streaming interface to
> + # get multiple texts from a source. The source could be smarter
> + # about how it handled intermediate stages.
Actually, we have that: Repository.iter_files_bytes. It'll iterate
through all versions of all files you ask about. The knit version just
uses versionedfile.get_line_lists(), but packs should be able to satisfy
this more intelligently.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHQy/r0F+nu1YWqI0RAgPKAJ9qzu3R6P3rL0aNdFYJqVo564a5DQCffyG3
w0E2l09rb0C6n0MToP5uqx0=
=C9P2
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list