[MERGE] init remote branches

Aaron Bentley aaron.bentley at utoronto.ca
Tue Jul 4 06:25:41 BST 2006


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

Wouter van Heyst wrote:

> Is doing a transport.has() first never better? Changing to EAFP style.

Pretty much never better.  On a file, get is better, because you can see
if the contents are correct.  On a directory, has is unreliable.

> bzrlib.transport.get_transport() might win. Any objections to switching
> back to that style?

Martin's asked us to use 'import MODULE' style for new code, so I'm
withdrawing that suggestion.

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

iD8DBQFEqfvV0F+nu1YWqI0RAp72AJ41u08ROZCJKuFj8DUyqQ4u4FGAzQCfYQun
/yJBUi2cebVCNl09qTLbYEc=
=AH0b
-----END PGP SIGNATURE-----




More information about the bazaar mailing list