[MERGE] Enable merging PreviewTrees
Aaron Bentley
aaron at aaronbentley.com
Thu Oct 9 04:11:54 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
This patch adds support for merging PreviewTrees into other trees. This
means changing some methods to avoid using Tree.inventory, which
PreviewTree does not supply.
In the process, it introduces Tree.get_inventory_entry, which provides a
convenient way of getting single inventory entries, without actually
using Tree.inventory or Tree.iter_entries_by_dir. This is a new
requirement for Tree implementors, but Tree provides a default for
subclasses.
Finally, it adds several caches to PreviewTree, vastly improving
performance of iter_changes.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI7XZ60F+nu1YWqI0RAhE5AJ9ZfNTwWCD8d3iO/Skv8Xp7ASH4hQCffEym
985KYi/XNufj/i+COfyEXVk=
=vVQv
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge-into2-3440.patch
Type: text/x-diff
Size: 18030 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081008/813b3e99/attachment.bin
More information about the bazaar
mailing list