HomePhabricator

templatespec: logcmdutil.templatespec() gets either template or mapfile

Authored by martinvonz.

Description

templatespec: logcmdutil.templatespec() gets either template or mapfile

The callers of the function already never pass (non-None) values for
both, so let's check that and call the new factory functions.

Differential Revision: https://phab.mercurial-scm.org/D8846