pulkit added a comment. It's recommended using `util.forcebytestr()` to convert error messages to bytes. https://phab.mercurial-scm.org/D2269#inline-5791 REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2292 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel