mercurial/hg.py
changeset 36702 f659a407e5ee
parent 36159 0fe7e39dc683
child 36781 ffa3026d4196
--- a/mercurial/hg.py	Sat Mar 03 23:49:39 2018 -0500
+++ b/mercurial/hg.py	Sun Mar 04 22:37:41 2018 +0530
@@ -269,7 +269,7 @@
             # ValueError is raised on Windows if the drive letters differ on
             # each path
             raise error.Abort(_('cannot calculate relative path'),
-                              hint=str(e))
+                              hint=util.forcebytestr(e))
     else:
         requirements += 'shared\n'