knit indexes are bytestreams, not Unicode

John Arbash Meinel john at arbash-meinel.com
Fri Jul 21 00:22:50 BST 2006


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

While I was probing around the Knit code, I found out that the current
KnitIndex parser reads in everything as a bytestream, and does not
convert it into Unicode. At present, we don't create Unicode revision
ids, but we claim to support them (Aaron has already proven we don't
support unicode file ids because our function for splitting them up by
hash requires a bytestream).

Anyway, I don't know how serious it is, but I just wanted to make people
aware.

(Mostly I found this out because you can't intern() a Unicode object,
but I was able to intern() the version ids used by KnitIndex)

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

iD8DBQFEwBBKJdeBCYSNAAMRAiDdAJ4wnEZW4cZWxTtr1fBzCEoqhvATxQCfbfqs
X6mbaAruQd5QfCseUKIIQL8=
=+y+P
-----END PGP SIGNATURE-----




More information about the bazaar mailing list