--- a/mercurial/store.py Mon Jan 06 14:15:40 2025 -0500
+++ b/mercurial/store.py Sun Jan 05 21:03:17 2025 -0500
@@ -1028,7 +1028,7 @@
self._dirty = False
try:
fp = self.vfs(b'fncache', mode=b'rb')
- except IOError:
+ except OSError:
# skip nonexistent file
self.entries = set()
return