mercurial/ui.py
changeset 13576 edd06611a7c6
parent 13493 95b0d4c1c9e1
child 13774 1ce0e80799c0
equal deleted inserted replaced
13572:1bb2a56a9d73 13576:edd06611a7c6
   271 
   271 
   272     def walkconfig(self, untrusted=False):
   272     def walkconfig(self, untrusted=False):
   273         cfg = self._data(untrusted)
   273         cfg = self._data(untrusted)
   274         for section in cfg.sections():
   274         for section in cfg.sections():
   275             for name, value in self.configitems(section, untrusted):
   275             for name, value in self.configitems(section, untrusted):
   276                 yield section, name, str(value).replace('\n', '\\n')
   276                 yield section, name, value
   277 
   277 
   278     def plain(self):
   278     def plain(self):
   279         '''is plain mode active?
   279         '''is plain mode active?
   280 
   280 
   281         Plain mode means that all configuration variables which affect the
   281         Plain mode means that all configuration variables which affect the