[BUG] transport/memory.py doesn't handle strings

Aaron Bentley aaron.bentley at utoronto.ca
Sun Oct 23 19:04:26 BST 2005


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

Robert Collins wrote:
|>It looked fine last I checked.  It was iterating up to the root, and
|>stopping there.  If you substituted transport('a') for transport('..')
|>in that loop, I'd expect it to be infinite.
|
|
| I think we should modify transport so that
| 'LocalTransport('/').clone('..') raises an exception.

That would be inconsistent with with web server behavior and with POSIX
~ filesystem behavior.  Both treat /.. as /.

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

iD8DBQFDW9Cp0F+nu1YWqI0RAraNAJ0ZDmBQpFoOdE9R3xNE/wm5ujjizgCfXdTX
Q6yCNvCFph8N7AkQDjo1Gvw=
=hmuc
-----END PGP SIGNATURE-----




More information about the bazaar mailing list