[MERGE][Bug #116143] commit raises UnicodeError (traceback) if LANG is incorrect

John Arbash Meinel john at arbash-meinel.com
Fri Jul 27 19:58:19 BST 2007


John Arbash Meinel has voted resubmit.
Status is now: Resubmit
Comment:
I think this could be tested fairly easily by hijacking _run_editor to 
insert non-encoding safe characters into the output file. It could 
probably force the encoding to UTF-8, and then run, and insert \xff into 
the text.

This could also be reasonably done inside edit_commit_message* rather 
than being done in the commands/builtins code. Which would make it a bit 
easier to test.


For details, see: 
http://bundlebuggy.aaronbentley.com/request/%3C469E8796.9090006%40warwick.ac.uk%3E



More information about the bazaar mailing list