mercurial/scmutil.py
changeset 41288 17941fc53ae9
parent 41218 24a1f67bb75a
child 41369 5079242abef9
--- a/mercurial/scmutil.py	Wed Jan 16 21:32:15 2019 -0800
+++ b/mercurial/scmutil.py	Wed Jan 16 16:49:15 2019 -0800
@@ -12,7 +12,6 @@
 import hashlib
 import os
 import re
-import socket
 import subprocess
 import weakref
 
@@ -270,8 +269,6 @@
         # Commands shouldn't sys.exit directly, but give a return code.
         # Just in case catch this and and pass exit code to caller.
         return inst.code
-    except socket.error as inst:
-        ui.error(_("abort: %s\n") % stringutil.forcebytestr(inst.args[-1]))
 
     return -1