--- a/hgext/show.py Tue Apr 04 16:49:12 2017 +0200
+++ b/hgext/show.py Wed Apr 05 00:34:58 2017 +0900
@@ -19,6 +19,7 @@
cmdutil,
commands,
error,
+ pycompat,
registrar,
)
@@ -133,5 +134,5 @@
# TODO make this more robust.
longest = max(map(len, showview._table.keys()))
for key in sorted(showview._table.keys()):
- cmdtable['show'][0].__doc__ += ' %s %s\n' % (
- key.ljust(longest), showview._table[key]._origdoc)
+ cmdtable['show'][0].__doc__ += pycompat.sysstr(' %s %s\n' % (
+ key.ljust(longest), showview._table[key]._origdoc))