mercurial/ui.py
changeset 45894 9dc1351d0b5f
parent 45889 e5a0efd26f7a
child 45929 87e7dd8e7734
--- a/mercurial/ui.py	Mon Nov 16 10:56:54 2020 -0800
+++ b/mercurial/ui.py	Fri Nov 20 14:43:21 2020 -0800
@@ -466,7 +466,7 @@
 
             try:
                 cfg.read(filename, fp, sections=sections, remap=remap)
-            except error.ParseError as inst:
+            except error.ConfigError as inst:
                 if trusted:
                     raise
                 self.warn(