version-info --include-history UnicodeDecodeError (518609)

Robert Collins robertc at robertcollins.net
Fri Apr 9 07:14:24 BST 2010


On Fri, 2010-04-09 at 14:32 +0900, Stephen J. Turnbull wrote:
> Robert Collins writes:
> 
>  > As already said in this thread, RIO isn't 'text', its a defined series
>  > of bytes.
> 
> I know.  So what about RIO?  We are talking about the version-info
> command, are we not?  Its help says
> 
>   You can use this command to add information about version into
>   source code of an application. The output can be in one of the
>   supported formats or in a custom format based on a template.
> 
> That's text, OK?  The source language gets to choose, NOT bzr.  Eg, if
> it's Python source, it's ISO 8859/1 by default through 2.x (IIRC) and
> UTF-8 in Python 3, but it can be anything supported by Python (see PEP
> 263).  If bzr is outputting RIO from that command, that's a bug.

I think you have the wrong end of the stick. The *target* language gets
to choose. RIO is a target language, the same as python would be. bzr is
outputting RIO from the command because the user chose to have RIO
output.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100409/ed1851b6/attachment.pgp 


More information about the bazaar mailing list