mercurial/repair.py
changeset 36702 f659a407e5ee
parent 35778 128dd940bedc
child 37016 17692fefc8f2
--- a/mercurial/repair.py	Sat Mar 03 23:49:39 2018 -0500
+++ b/mercurial/repair.py	Sun Mar 04 22:37:41 2018 +0530
@@ -235,7 +235,7 @@
             except OSError as e:
                 if e.errno != errno.ENOENT:
                     ui.warn(_('error removing %s: %s\n') %
-                            (undovfs.join(undofile), str(e)))
+                            (undovfs.join(undofile), util.forcebytestr(e)))
 
     except: # re-raises
         if backupfile: