[MERGE][328007] Fixed problem with `log -p` and non-ascii content of files: show_diff should write the diff to exact [stdout] stream.

Alexander Belchenko bialix at ukr.net
Thu Mar 12 07:12:06 GMT 2009

Ian Clatworthy пишет:
> Alexander Belchenko wrote:
>> I can change getattr to following code (if we want to be really paranoid):
>> 	if isinstance(to_file, codecs.StreamWriter):
>> 		self.to_exact_file = to_file.stream
>> 	else:
>> 		self.to_exact_file = to_file
> I think that it's worth being paranoid here.

No problem, I think it's a bb:tweak from you. :-)

More information about the bazaar mailing list