--- a/mercurial/commands.py Thu Aug 01 12:23:07 2019 -0400
+++ b/mercurial/commands.py Thu Aug 01 22:03:52 2019 +0530
@@ -1872,6 +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))
if fm.isplain():
source = source or 'none'
value = value.replace('\n', '\\n')
@@ -1881,7 +1882,7 @@
fm.startitem()
fm.condwrite(ui.debugflag, 'source', '%s: ', source)
if uniquesel:
- fm.data(name=entryname)
+ fm.data(name=entryname, defaultvalue=defaultvalue)
fm.write('value', '%s\n', value)
else:
fm.write('name value', '%s=%s\n', entryname, value)