[merge][0.11] bugfix 56815: export unicode files to tar+zip

John Arbash Meinel john at arbash-meinel.com
Thu Sep 21 00:09:06 BST 2006


There are two patches attached. The first fixes 'bzr export' for both
tar and zipfiles so that if the tree contains unicode filenames, they
will be exported as utf-8 paths.

This fixes bug:
https://launchpad.net/products/bzr/+bug/56815

We had done some discussion, and it is possible that you would want to
use a different path depending on the platform. But utf-8 is probably
the most consistent thing. And it only might fail on windows. But since
right now we fail on all platforms, it is still better to do this.

The second patch just cleans up the export tests to conform to our
preferred style (use self.make_branch_and_tree, rather than runbzr, etc).

This may be too much of a change to slip into 0.11, but I think it is small.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tar-unicode-filenames-56815.patch
Type: text/x-patch
Size: 5403 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060920/06db025a/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: export-cleanup.patch
Type: text/x-patch
Size: 3936 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060920/06db025a/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060920/06db025a/attachment.pgp 


More information about the bazaar mailing list