author | Rishabh Madan <rishabhmadan96@gmail.com> |
Fri, 17 Mar 2017 19:12:22 +0530 | |
changeset 31477 | 3fb2081ef896 |
parent 31476 | 413b44003462 |
child 31478 | 9335dc6b2a9c |
--- 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')