Skip to content
Snippets Groups Projects
Commit 1f9736eb authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

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
parent 5d65e04b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment