mercurial/debugcommands.py
changeset 45309 65a812ed9e9f
parent 45213 d5ccc059fbcd
child 45320 4aa484efc926
--- a/mercurial/debugcommands.py	Thu Jul 30 13:44:06 2020 -0700
+++ b/mercurial/debugcommands.py	Tue Aug 04 13:21:29 2020 -0700
@@ -1672,7 +1672,7 @@
     fm.write(b'templatedirs', b'checking templates (%s)...\n', p or b'')
     fm.condwrite(not p, b'', _(b" no template directories found\n"))
     if p:
-        m = templater.templatepath(b"map-cmdline.default")
+        (m, fp) = templater.open_template(b"map-cmdline.default")
         if m:
             # template found, check if it is working
             err = None