Solution for baz2bzr revision ids on windows
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Jan 11 15:53:05 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel wrote:
> I should also comment that urllib quotes all of the forbidden characters
> except '/'
>
>
>>>>urllib.quote('/?<>\:*|"^')
>
> '/%3F%3C%3E%5C%3A%2A%7C%22%5E'
Yes, but:
>>> urllib.quote('/?<>\:*|"^', "")
'%2F%3F%3C%3E%5C%3A%2A%7C%22%5E'
The "safe" parameter defaults to allowing '/', but can be overridden.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDxSnh0F+nu1YWqI0RAvWeAJ0WjEdSw1Ohmxe4RxC9uHk8ndcqjQCfT2vg
efyHW91vV3WYOukjxd1S+eo=
=BCtB
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list