changeset 43909 | dbaf9aabfb69 |
parent 43877 | e63b27fb0595 |
child 43910 | c41ed5d4f770 |
--- a/mercurial/ui.py Wed Dec 11 09:39:14 2019 -0800 +++ b/mercurial/ui.py Wed Dec 11 15:33:07 2019 -0800 @@ -440,7 +440,7 @@ try: cfg.read(filename, fp, sections=sections, remap=remap) fp.close() - except error.ConfigError as inst: + except error.ParseError as inst: if trusted: raise self.warn(_(b"ignored: %s\n") % stringutil.forcebytestr(inst))