(Arne Babenhauserheide)
2011-10-21: FIX regression: crash when not given a target repo. FIX regression: crash when not given a target repo.
diff --git a/site.py b/site.py --- a/site.py +++ b/site.py @@ -420,10 +420,10 @@ def staticsite(ui, repo, target=None, ** if repo.root == target: ui.warn(_("static target repo can’t be the current repo")) return + if not target: target = "static" # add the hg repo to the static site addrepo(ui, repo, target) # first: just create the site. - if not target: target = "static" parsesite(ui, repo, target, **opts) if opts["upload"]: # upload the repo