(Arne Babenhauserheide)
2013-12-20: FIX regression (now needs to remove ftp:// before splitting user und FIX regression (now needs to remove ftp:// before splitting user und password)
diff --git a/staticsite.py b/staticsite.py --- a/staticsite.py +++ b/staticsite.py @@ -851,6 +851,8 @@ def addrepo(ui, repo, target, bookmarks, def upload(ui, repo, target, ftpstring, force): """upload the repo to the FTP server identified by the ftp string.""" + if ftpstring.startswith("ftp://"): + ftpstring = ftpstring[len("ftp://"):] try: user, password = ftpstring.split("@")[0].split(":") serverandpath = "@".join(ftpstring.split("@")[1:])