hg site extension
 
(Arne Babenhauserheide)
2014-02-23: increased timeout from 10 seconds to 60 seconds.

increased timeout from 10 seconds to 60 seconds.

diff --git a/staticsite.py b/staticsite.py
--- a/staticsite.py
+++ b/staticsite.py
@@ -1439,7 +1439,7 @@ def upload(ui, repo, target, ftpstring, 
         serverandpath = ftpstring # no @, so we just take the whole string
     server = serverandpath.split("/")[0]
     ftppath = "/".join(serverandpath.split("/")[1:])
-    timeout = 10
+    timeout = 60
     try:
         ftp = ftplib.FTP_TLS(server, user, password, "", timeout=timeout)
         ftp.prot_p()