[MERGE][BUG #77657] Give a nicer error for non fs_enc() paths

John Arbash Meinel john at arbash-meinel.com
Mon Mar 17 20:56:32 GMT 2008


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

Bug #77657 is about our inability to add paths that cannot be decoded in
the current FS encoding.

The attached patch just changes "iter_changes" to give a clear exception
about what file is causing the problems (which also removes the ugly
traceback.)

So I won't claim that it fixes the bug, as I'm not really sure what to
do about adding a file we can't represent in Unicode.

But at a minimum it shows what file needs to be renamed so that the user
can get back to working.

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

iD8DBQFH3tsAJdeBCYSNAAMRAsizAJ9TzIHzCBcI00sEI6iwEOGpUaDhOQCgm3u2
bUhoAkd5byigLGMoFmSVp68=
=b0Uf
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: non_utf8_77657.patch
Type: text/x-diff
Size: 13769 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080317/680019ee/attachment-0001.bin 


More information about the bazaar mailing list