The function returns either a singleton list or an empty list, so it
makes more sense to return a value or None. The plural in the name
also doesn't make sense, but templatepath() is already taken, so I
renamed it to templatedir() instead.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG91aa9bba3dc9: templater: make templatepaths() return a single path, or None
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage