diff -r 9db77d46de79 -r 24ee91ba9aa8 mercurial/wireprotov1server.py --- a/mercurial/wireprotov1server.py Mon Jan 06 14:15:40 2025 -0500 +++ b/mercurial/wireprotov1server.py Sun Jan 05 21:03:17 2025 -0500 @@ -488,7 +488,7 @@ repo.ui.debug(b'sending pullbundle "%s"\n' % path) try: return repo.vfs.open(path) - except IOError: + except OSError: repo.ui.debug(b'pullbundle "%s" not accessible\n' % path) continue return None