[MERGE] Update NEWS

Jelmer Vernooij jelmer at samba.org
Fri Dec 21 22:38:00 GMT 2007


Am Freitag, den 21.12.2007, 17:28 -0500 schrieb Aaron Bentley:
> 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.
Ah, I missed the fact that "foo" was a branch, thought it was a
repository. I don't think a separate test is necessary. Sorry.

That docstring for BzrDir.find_branches() would still be nice, looks
good otherwise.

bb:tweak

Cheers,

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071221/03aab015/attachment.pgp 


More information about the bazaar mailing list