Repair `new` with patchdescr.template (#87)
commit93c90734d7073bc68285dca5e450034f96376703
authorPeter Grayson <pete@jpgrayson.net>
Mon, 7 Dec 2020 16:29:23 +0000 (7 11:29 -0500)
committerPeter Grayson <pete@jpgrayson.net>
Mon, 7 Dec 2020 16:53:34 +0000 (7 11:53 -0500)
treeabfafc630ffbc8e0fa4faff8d890d24003271ee5
parentc3f7d39730c10838897fad3b8034808ece5ee07a
Repair `new` with patchdescr.template (#87)

When a user-provided patchdescr.tmpl is present, `stg new` would crash
with a TypeError due to a str/bytes mismatch.

Repairs #87.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
stgit/commands/common.py
t/t1003-new.sh