# HG changeset patch # User Augie Fackler # Date 1524806936 14400 # Node ID d4aad0dd69edf0215c9566b9ce7a18386e3917ce # Parent 73ca1c5e65f8f2899f973a8185f25ca30e8d5806 cvsps: wrap bytes in bytestr before %r-ing it Differential Revision: https://phab.mercurial-scm.org/D3487 diff -r 73ca1c5e65f8 -r d4aad0dd69ed hgext/convert/cvsps.py --- a/hgext/convert/cvsps.py Fri Apr 27 01:27:22 2018 -0400 +++ b/hgext/convert/cvsps.py Fri Apr 27 01:28:56 2018 -0400 @@ -798,7 +798,7 @@ except KeyError: ui.warn(_("warning: CVS commit message references " "non-existent branch %r:\n%s\n") - % (m, c.comment)) + % (pycompat.bytestr(m), c.comment)) if m in branches and c.branch != m and not candidate.synthetic: c.parents.append(candidate)