Comment 4 for bug 238365

Revision history for this message
Daniel Clemente (n142857) wrote : Re: Symbolic links to files with names in UTF-8 (Unicode)

While the previous patch worked before, now a decode("utf8") is needed in order to pass CHKInventory._entry_to_bytes a unicode object, not a str.

I attach an updated patch ready to check in.

To test this bug you can use this line:

cd /tmp; rm -rf tres enbzr; mkdir tres; cd tres; git init; touch més; ln -s més prova; git add més prova; git commit -a -m "link to a file with a name in utf-8"; git fast-export --all >expo; mkdir enbzr; cd enbzr; bzr init; bzr fast-import ../expo