changeset 52640 | 24ee91ba9aa8 |
parent 51859 | f4733654f144 |
child 52644 | e627cc25b6f3 |
--- a/mercurial/config.py Mon Jan 06 14:15:40 2025 -0500 +++ b/mercurial/config.py Sun Jan 05 21:03:17 2025 -0500 @@ -196,7 +196,7 @@ expanded = util.expandpath(m.group(1)) try: include(expanded, remap=remap, sections=sections) - except IOError as inst: + except OSError as inst: if inst.errno != errno.ENOENT: raise error.ConfigError( _(b"cannot include %s (%s)")