[MERGE] Test for bug #272444 (symlinks to Unicode file names)
Daniel Clemente
dcl441-bugs at yahoo.com
Sun Sep 21 11:25:31 BST 2008
New test for this bug:
https://bugs.launchpad.net/bzr/+bug/272444
Support symlinks to non-ascii file names
Currently, some commands support them, others not. The tests tries „branch“ and fails with:
.....
File "/w/bzr/tests/bzrlib/dirstate.py", line 2266, in set_parent_trees
new_details.append(self._inv_entry_to_details(entry))
File "/w/bzr/tests/bzrlib/dirstate.py", line 1862, in _inv_entry_to_details
fingerprint = str(inv_entry.symlink_target or '')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-4: ordinal not in range(128)
-- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test272444.patch
Type: text/x-diff
Size: 5666 bytes
Desc: patch with testcase
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080921/41dbe9e8/attachment.bin
More information about the bazaar
mailing list