[MERGE] Transport.get_directory is undefined

Aaron Bentley aaron.bentley at utoronto.ca
Fri Sep 29 14:18:59 BST 2006


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

Robert Collins wrote:
> I've taken a stab at defining reliable behaviur for transport.get('a
> directory')

> +    * ``Transport.get`` has had its interface made more clear for ease of use.
> +      Retrieval of a directory must now fail with either 'PathError' at open
> +      time, or raise 'ReadError' on a read. (Robert Collins)

I don't understand how you can guarantee that for http.  In fact, I
don't see any changes to the http implementation.  And currently, the
branches plugin makes use of the fact that http servers often return an
index, so changing get to fail on directories would be a bit unhelpful.

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

iD8DBQFFHR1D0F+nu1YWqI0RAi/eAJ97H3982gUccrDFqoqqgPsx9FbDEgCggyNH
e7L2mbvFqF7x91VpamcbIHE=
=SPgO
-----END PGP SIGNATURE-----




More information about the bazaar mailing list