hgext/show.py
changeset 42596 83666f011679
parent 42057 566daffc607d
child 43076 2372284d9457
--- a/hgext/show.py	Fri Jun 28 12:59:21 2019 -0700
+++ b/hgext/show.py	Tue Jul 09 00:03:10 2019 -0700
@@ -460,8 +460,8 @@
     longest = max(map(len, showview._table.keys()))
     entries = []
     for key in sorted(showview._table.keys()):
-        entries.append(pycompat.sysstr('    %s   %s' % (
-            key.ljust(longest), showview._table[key]._origdoc)))
+        entries.append(r'    %s   %s' % (
+            pycompat.sysstr(key.ljust(longest)), showview._table[key]._origdoc))
 
     cmdtable['show'][0].__doc__ = pycompat.sysstr('%s\n\n%s\n    ') % (
         cmdtable['show'][0].__doc__.rstrip(),