mercurial/commandserver.py
changeset 52640 24ee91ba9aa8
parent 51859 f4733654f144
child 52643 5cc8deb96b48
--- a/mercurial/commandserver.py	Mon Jan 06 14:15:40 2025 -0500
+++ b/mercurial/commandserver.py	Sun Jan 05 21:03:17 2025 -0500
@@ -724,7 +724,7 @@
                 super(unixcmdserverrepo, self).close()
                 try:
                     self._cmdserveripc.send(self.root)
-                except socket.error:
+                except OSError:
                     self.ui.log(
                         b'cmdserver', b'failed to send repo root to master\n'
                     )