Show More
@@ -1175,6 +1175,7 b' def showconfig(ui, repo, *values, **opts' | |||
|
1175 | 1175 | if len(items) > 1 or items and sections: |
|
1176 | 1176 | raise util.Abort(_('only one config item permitted')) |
|
1177 | 1177 | for section, name, value in ui.walkconfig(untrusted=untrusted): |
|
1178 | value = str(value).replace('\n', '\\n') | |
|
1178 | 1179 | sectname = section + '.' + name |
|
1179 | 1180 | if values: |
|
1180 | 1181 | for v in values: |
@@ -273,7 +273,7 b' class ui(object):' | |||
|
273 | 273 | cfg = self._data(untrusted) |
|
274 | 274 | for section in cfg.sections(): |
|
275 | 275 | for name, value in self.configitems(section, untrusted): |
|
276 |
yield section, name, |
|
|
276 | yield section, name, value | |
|
277 | 277 | |
|
278 | 278 | def plain(self): |
|
279 | 279 | '''is plain mode active? |
General Comments 0
You need to be logged in to leave comments.
Login now