hgext/transplant.py
changeset 36267 6ea0b78ddcac
parent 36228 7fda2a8ed24e
child 36543 7b74afec6772
--- a/hgext/transplant.py	Wed Feb 14 16:37:46 2018 +0530
+++ b/hgext/transplant.py	Wed Feb 14 17:43:33 2018 +0530
@@ -311,7 +311,7 @@
                 p1 = repo.dirstate.p1()
                 p2 = node
                 self.log(user, date, message, p1, p2, merge=merge)
-                self.ui.write(str(inst) + '\n')
+                self.ui.write(util.forcebytestr(inst) + '\n')
                 raise TransplantError(_('fix up the working directory and run '
                                         'hg transplant --continue'))
         else: