[MERGE] Update NEWS

Aaron Bentley aaron.bentley at utoronto.ca
Fri Dec 21 22:28:50 GMT 2007


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

Jelmer Vernooij wrote:
> Am Freitag, den 21.12.2007, 17:10 -0500 schrieb Aaron Bentley:
>> I expect both branches to be returned.

> Either way would be acceptable to me, but it would be nice to have a
> tests the behaviour in that situation.

For BzrDir.find_branches, this is tested in "test_find_branches":

+        self.assertEqual(bar.root_transport.base, branches[2].base)

+        self.assertEqual(bar.root_transport.base, branches[1].base)

^^^ bar is a nested branch

This also implicitly tests Repository.find_branches, but I can add an
explicit test.

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

iD8DBQFHbD4i0F+nu1YWqI0RAh1fAJ9u4dc1ZT4bwUyMhPb1/iu6NrXTXwCeMXTq
L+fLM53Ye2JlG68fLfMChHo=
=lJ+u
-----END PGP SIGNATURE-----



More information about the bazaar mailing list