Submitter | phabricator |
---|---|
Date | July 24, 2020, 6:01 a.m. |
Message ID | <differential-rev-PHID-DREV-5nvy77fyuz4emwvuygbf-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/46857/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/formatter.py b/mercurial/formatter.py --- a/mercurial/formatter.py +++ b/mercurial/formatter.py @@ -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]