(Arne Babenhauserheide)
2012-06-24: FIX: push without explicit path works again. FIX: push without explicit path works again.
diff --git a/staticsite.py b/staticsite.py --- a/staticsite.py +++ b/staticsite.py @@ -723,7 +723,11 @@ wrapcmds = { # cmd: generic, target, fix # explicitely wrap commands in case the remote repo is an FTP repo. def ftppush(orig, *args, **opts): - ui, repo, path = args + try: + ui, repo, path = args + except ValueError: # no ftp string + ui, repo = args + path = ui.expandpath('default-push', 'default') # only act differently, if the target is an FTP repo. if not path.startswith("ftp"): return orig(*args, **opts)