hgext/show.py
changeset 36079 e3674c2a585c
parent 35928 c8e2d6ed1f9e
child 36991 317382151ac3
--- a/hgext/show.py	Sun Feb 11 14:21:44 2018 -0800
+++ b/hgext/show.py	Sun Feb 11 13:06:01 2018 -0800
@@ -126,7 +126,7 @@
         ui.write('\n')
 
         for name, func in sorted(views.items()):
-            ui.write(('%s\n') % func.__doc__)
+            ui.write(('%s\n') % pycompat.sysbytes(func.__doc__))
 
         ui.write('\n')
         raise error.Abort(_('no view requested'),