--- a/hgext/show.py Thu Oct 24 18:58:58 2024 +0200
+++ b/hgext/show.py Fri Oct 25 23:54:24 2024 +0200
@@ -513,7 +513,7 @@
entries = []
for key in sorted(showview._table.keys()):
entries.append(
- r'%s %s'
+ r' %s %s'
% (
pycompat.sysstr(key.ljust(longest)),
showview._table[key]._origdoc,
@@ -521,7 +521,7 @@
)
cmdtable[b'show'][0].__doc__ = pycompat.sysstr(b'%s\n\n%s\n ') % (
- pycompat.cleandoc(cmdtable[b'show'][0].__doc__),
+ cmdtable[b'show'][0].__doc__.rstrip(),
pycompat.sysstr(b'\n\n').join(entries),
)