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

Daniel Watkins D.M.Watkins at warwick.ac.uk
Sat Jul 28 00:09:23 BST 2007


John Arbash Meinel wrote:
> 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.
The above advice has been taken and the result is attached. :)


Regards,
-- 
Daniel Watkins (Odd_Bloke)
University of Warwick Christian Focus President
University of Warwick Computing Society WUGLUG Liaison Officer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 116143.bundle
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20070728/2941af3c/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070728/2941af3c/attachment-0001.pgp 


More information about the bazaar mailing list