diff mercurial/requirements.py @ 45791:1f9736eb0e65

histedit: drop fallback to empty string from rendertemplate() AFAICT, `cmdutil.rendertemplate()` always returns bytes (never e.g. `None`), so we don't need to fall back to empty (byte-)string. The fallback has been there since the code was added in 11c076786d56 (histedit: add templating support to histedit's rule file generation, 2019-01-29). Differential Revision: https://phab.mercurial-scm.org/D9244
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 22 Oct 2020 23:35:04 -0700
parents d252f51ab032
children 4b0192f592cf
line wrap: on
line diff