Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/ui.py @ 4085:719488a98ebe
Fix hg showconfig traceback with values that aren't strings
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 15 Feb 2007 10:15:08 -0200 |
parents | 1bd6868b0b11 |
children | 0a95d0e83b4c |
line wrap: on
line diff
--- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -309,7 +309,7 @@ class ui(object): sections.sort() for section in sections: for name, value in self.configitems(section, untrusted): - yield section, name, value.replace('\n', '\\n') + yield section, name, str(value).replace('\n', '\\n') def extensions(self): result = self.configitems("extensions")