diff -r e2ec36167151 -r 91aa9bba3dc9 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Tue Jul 21 13:05:37 2020 -0700 +++ b/mercurial/debugcommands.py Tue Jul 21 13:11:49 2020 -0700 @@ -1668,8 +1668,8 @@ fm.data(re2=bool(util._re2)) # templates - p = templater.templatepaths() - fm.write(b'templatedirs', b'checking templates (%s)...\n', b' '.join(p)) + p = templater.templatedir() + fm.write(b'templatedirs', b'checking templates (%s)...\n', p) fm.condwrite(not p, b'', _(b" no template directories found\n")) if p: m = templater.templatepath(b"map-cmdline.default")