Bug in stat cache?

Aaron Bentley aaron.bentley at utoronto.ca
Fri May 20 17:13:34 BST 2005


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

Aaron Bentley wrote:
| Martin Pool wrote:
|
|>>This might be related to a bug I just discovered related to handling
|>>files with spaces or other strange characters in the name.  Does that
|>>happen anywhere in your tree?
|
|
| I'm not aware of anything other than plain ascii in that tree.

Okay, I'm pretty sure it's the same problem as people are experiencing
with long filenames: long file-ids cause quoted-printable to introduce
newlines.

One option is to switch to a different encoding.  I've attached a patch
that reverses 537 and does url encoding.  The unicode_escape codec would
be another interesting choice that would leave most strings intact.

I guess another option would be to treat excessively long ids as
dangerfiles.

With the attached patch applied, the baz2bzr process runs to completion
for Bugs Everywhere.

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

iD8DBQFCjgyu0F+nu1YWqI0RAs9TAJ9+jci2Hieqzb2/4biAmaSOilDygwCaA/yw
pfp6Dy39z2cRbljg72RUyWs=
=0Okf
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: urlencoded.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050520/1e722a91/attachment.diff 


More information about the bazaar mailing list