(Arne Babenhauserheide)
2014-05-18: catch and report an EOF error on connect. catch and report an EOF error on connect.
diff --git a/staticsite.py b/staticsite.py --- a/staticsite.py +++ b/staticsite.py @@ -1465,6 +1465,9 @@ def upload(ui, repo, target, ftpstring, except socket.timeout: ui.warn(_("connection to "), server, _(" timed out after "), timeout, _(" seconds.\n")) return + except EOFError as e: # ??? FIXME! + ui.warn(_("connection to "), server, _(" failed due to an EOFError "), _(str(e)), _(". We do not know how to fix that, yet. Sorry.\n")) + raise ui.status(ftp.getwelcome(), "\n")