mercurial/commands.py
changeset 36742 390d16ea7c76
parent 36726 7dc1a21d57cc
child 36850 ff541b8cdee0
--- a/mercurial/commands.py	Sun Mar 04 07:40:21 2018 -0800
+++ b/mercurial/commands.py	Sun Mar 04 22:33:59 2018 +0530
@@ -1197,7 +1197,7 @@
         bcompression, cgversion, params = exchange.parsebundlespec(
                 repo, bundletype, strict=False)
     except error.UnsupportedBundleSpecification as e:
-        raise error.Abort(str(e),
+        raise error.Abort(pycompat.bytestr(e),
                           hint=_("see 'hg help bundlespec' for supported "
                                  "values for --type"))