mercurial/commands.py
changeset 42705 049b2ac3252e
parent 42672 51a2e3102db2
child 42706 60789444acd6
--- a/mercurial/commands.py	Sat Jul 27 12:19:51 2019 +0530
+++ b/mercurial/commands.py	Sat Aug 03 12:14:34 2019 +0530
@@ -1872,7 +1872,7 @@
     for section, name, value in ui.walkconfig(untrusted=untrusted):
         source = ui.configsource(section, name, untrusted)
         value = pycompat.bytestr(value)
-        defaultvalue = pycompat.bytestr(ui.configdefault(section, name))
+        defaultvalue = ui.configdefault(section, name)
         if fm.isplain():
             source = source or 'none'
             value = value.replace('\n', '\\n')