author | Yuya Nishihara <yuya@tcha.org> |
Sun, 08 Jul 2018 19:32:39 +0900 | |
changeset 38607 | fe81af15675a |
parent 38606 | 15622e72307d |
child 38608 | 980aee54fd70 |
--- a/mercurial/error.py Sun Jul 08 19:11:54 2018 +0900 +++ b/mercurial/error.py Sun Jul 08 19:32:39 2018 +0900 @@ -241,7 +241,7 @@ if val is None: entries.append(val) else: - entries.append("%s=%r" % (par, val)) + entries.append("%s=%r" % (par, pycompat.maybebytestr(val))) if entries: msg = '%s - %s' % (msg, ', '.join(entries)) ValueError.__init__(self, msg)