hgext/mq.py
changeset 36418 6f6063553502
parent 36417 dbf34d0ef9f6
child 36419 469c7e146c8f
--- a/hgext/mq.py	Sat Feb 24 01:19:26 2018 +0530
+++ b/hgext/mq.py	Sat Feb 24 01:20:20 2018 +0530
@@ -855,7 +855,7 @@
                                   files=files, eolmode=None)
             return (True, list(files), fuzz)
         except Exception as inst:
-            self.ui.note(str(inst) + '\n')
+            self.ui.note(util.forcebytestr(inst) + '\n')
             if not self.ui.verbose:
                 self.ui.warn(_("patch failed, unable to continue (try -v)\n"))
             self.ui.traceback()