[MERGE] Add PreviewTree to tree_implementation tests
Aaron Bentley
aaron at aaronbentley.com
Sun Apr 13 22:25:07 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
Here's a patch that gets PreviewTree passing all tree_implementation
tests. However, it is only testing the case where no files have changed
from the underlying tree. The next step will be testing the case where
all files have changed from the underlying tree.
PreviewTree does not have an inventory attribute, and hope to avoid
adding one. Our API is currently at a stage where reasonable
alternatives are available for just about every need. So I have
disabled the test_inv tests on PreviewTree.
I have copied the test_inv tests to test_inv_alternatives, and tweaked
them so that they do not require an inventory attribute (though many
still require an InventoryEntry). This at least ensures that
PreviewTree has equivalent functionality to inventory-based trees.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIAnoz0F+nu1YWqI0RArIkAJ9Ech9gtpVmh6KDnNL8zVQyBmgGAgCdHi11
Be8Dw6x4SSbnwJUJNgypsOI=
=iq7j
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-tree.patch
Type: text/x-diff
Size: 37107 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080413/eb0af410/attachment-0001.bin
More information about the bazaar
mailing list