hgext/convert/cvsps.py
changeset 37889 d4aad0dd69ed
parent 37887 dd071b34e60b
child 37918 120c343c38b7
--- 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)