Fix TypeError when using -M command line argument
commit90eeef2ff42a2589c66418ed4647d09135275578
authorToni Sissala <toni.sissala@tuni.fi>
Thu, 19 Mar 2020 13:52:49 +0000 (19 15:52 +0200)
committerToni Sissala <toni.sissala@tuni.fi>
Wed, 25 Mar 2020 09:19:25 +0000 (25 11:19 +0200)
tree8d4e3f4f1252c2054a6e45da98c6bc58a067d9e1
parent7f4d9c3ad4d0dfafd5b3c28ddb1efcf6b20faa8b
Fix TypeError when using -M command line argument

hg-fast-export.sanitize_name expects branch name to be a bytes
object. Command line parser gives out str objects. Convert
possible str object to bytes in hg2git.set_default_branch().
hg2git.py