Assume commit messages are in utf-8 for now...
authorAaron Bentley <abentley@panoramicfeedback.com>
Mon, 30 Jul 2007 14:47:43 +0000 (10:47 -0400)
committerAaron Bentley <abentley@panoramicfeedback.com>
Mon, 30 Jul 2007 14:47:43 +0000 (10:47 -0400)
becommands/comment.py

index b211cf61debfeb77373b858ca4cef1c99ba9934f..e3a1d93799b8979da1134ef6d90000e89233de15 100644 (file)
@@ -56,6 +56,7 @@ def execute(args):
                 "No comment supplied, and EDITOR not specified.")
         if body is None:
             raise cmdutil.UserError("No comment entered.")
+        body = body.decode('utf-8')
     else:
         body = args[1]
         if not body.endswith('\n'):