changeset 45260 | 653b2a439412 |
parent 43337 | 7e20b705da5b |
child 45262 | 22eafb16f1c5 |
--- a/mercurial/formatter.py Thu Jul 23 22:47:55 2020 -0700 +++ b/mercurial/formatter.py Thu Jul 23 22:50:20 2020 -0700 @@ -584,7 +584,7 @@ mapname = templater.templatepath( b'map-cmdline.' + tmpl ) or templater.templatepath(tmpl) - if mapname and os.path.isfile(mapname): + if mapname: return templatespec(topic, None, mapname) # perhaps it's a reference to [templates]