This is an archive of the discontinued Mercurial Phabricator instance.

templater: simplify templatepaths() to avoid iterating a singleton list
ClosedPublic

Authored by martinvonz on Jul 22 2020, 1:24 AM.

Details

Summary

The function iterates over a hard-coded list of one element since
d844e220792a (templater: don't search randomly for templates - trust
util.datapath, 2014-09-28).

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage