changeset 52640 | 24ee91ba9aa8 |
parent 52451 | f5d134e57f51 |
child 52644 | e627cc25b6f3 |
--- a/mercurial/scmutil.py Mon Jan 06 14:15:40 2025 -0500 +++ b/mercurial/scmutil.py Sun Jan 05 21:03:17 2025 -0500 @@ -258,7 +258,7 @@ # SSLError of Python 2.7.9 contains a unicode reason = encoding.unitolocal(reason) ui.error(_(b"abort: error: %s\n") % stringutil.forcebytestr(reason)) - except (IOError, OSError) as inst: + except OSError as inst: if hasattr(inst, "args") and inst.args and inst.args[0] == errno.EPIPE: pass elif getattr(inst, "strerror", None): # common IOError or OSError