[MERGE][#151844] Unicode-safe output from ``bzr info``

Lukáš Lalinský lalinsky at gmail.com
Fri Oct 12 11:33:54 BST 2007


This is a bug-fix for https://bugs.launchpad.net/bzr/+bug/151844

The main changes included in the patch are:

 - Use Command.outf instead of sys.stdout for displaying the data from
'bzr info'.

 - Replace undisplayable characters by '?'. This is what GNU tools
like ls or cmd.exe on Windows do, and I think it's also expectable by
users to see such placeholder characters, if their terminal encoding
is not compatible with their filesystem encoding.

Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-info-unicode.diff
Type: text/x-diff
Size: 17935 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071012/64a8a353/attachment-0001.bin 


More information about the bazaar mailing list