[MERGE] fix relpath calls at '/'

Aaron Bentley aaron.bentley at utoronto.ca
Tue Apr 4 13:12:56 BST 2006


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

Robert Collins wrote:

| +    assert len(base), 'Length of base must be > 1 (to start with /).'

Code doesn't match text.  Would be better as

~    assert len(base) > 0, 'Length of base must be > 0 (to start with /).'

(and on Windows, the shortest absolute path is 3 letters.)

I also wonder whether ensuring netloc couldn't happen when registering
protocols.

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

iD8DBQFEMmLI0F+nu1YWqI0RAlKfAJ4gcM8575pze2aEZRQBM3GNfivTEACfZOI2
E4GnEfagqH6177bszLIyKmI=
=Xm2M
-----END PGP SIGNATURE-----




More information about the bazaar mailing list