[MERGE] Implement list_files and PreviewTreePost

Aaron Bentley aaron at aaronbentley.com
Wed Jul 23 20:30:26 BST 2008


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

Hi all,

This patch gets PreviewTree fully under test.  Until now, only the
boring case has been subject to the tree implementation tests-- that is,
the case where the PreviewTree has no changes versus the underlying tree.

This patch tests the opposite case, where all of the contents of the
PreviewTree are changes versus the underlying tree.  Between them, we
can be reasonably assured that PreviewTree will honour the Tree
interface, whether or not changes have been made.  There are also tests
in test_transform that check behavior when some results are unchanged
and others are changed.

I've bundled the list_files changes with this, because the list_files
changes are too complicated to try to replicate in test_transform.

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

iD8DBQFIh4bS0F+nu1YWqI0RAkVgAJ9IUgBOwyVnsJWZQNY11H8vbDzhlQCdHTX0
2yW55iz6cXuyRpQbEMpkXYc=
=trOY
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-post-3408.patch
Type: text/x-diff
Size: 31663 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080723/9db6a9dc/attachment-0001.bin 


More information about the bazaar mailing list