mercurial/exchange.py
changeset 37663 fc114a16a484
parent 37649 a168799687e5
child 37757 2a8ad00b8aed
--- a/mercurial/exchange.py	Sat Apr 14 01:58:44 2018 +0530
+++ b/mercurial/exchange.py	Sat Apr 14 01:59:55 2018 +0530
@@ -2291,7 +2291,7 @@
                     continue
 
             except error.InvalidBundleSpecification as e:
-                repo.ui.debug(str(e) + '\n')
+                repo.ui.debug(stringutil.forcebytestr(e) + '\n')
                 continue
             except error.UnsupportedBundleSpecification as e:
                 repo.ui.debug('filtering %s because unsupported bundle '