changeset 31477 | 3fb2081ef896 |
parent 31463 | 55df8fa15b09 |
child 31486 | 06d3c40fc3e7 |
--- a/mercurial/commands.py Mon Mar 13 12:40:14 2017 -0700 +++ b/mercurial/commands.py Fri Mar 17 19:12:22 2017 +0530 @@ -1810,7 +1810,7 @@ matched = False for section, name, value in ui.walkconfig(untrusted=untrusted): source = ui.configsource(section, name, untrusted) - value = str(value) + value = pycompat.bytestr(value) if fm.isplain(): source = source or 'none' value = value.replace('\n', '\\n')