(Arne Babenhauserheide)
2011-11-24: merge releases merge releases
diff --git a/README.txt b/README.txt --- a/README.txt +++ b/README.txt @@ -2,6 +2,8 @@ hg site Create and/or upload a static copy of the repository. +You can get it via `hg clone http://draketo.de/proj/hgsite/` + The main goal is sharing Mercurial on servers with only FTP access and statically served files, while providing the same information as hg serve and full solutions like bitbucket and gitorious (naturally diff --git a/site.py b/site.py --- a/site.py +++ b/site.py @@ -108,7 +108,7 @@ def writeoverview(ui, repo, target, name for f in os.listdir(repo.root): if f.lower().startswith("readme"): readme = parsereadme(f) - overview += "\n".join(readme.splitlines()[:3]) + overview += "\n".join(readme.splitlines()[:5]) break # now the links to the log and the files. overview += "</pre>\n<p><a href='commits'>changelog</a> | <a href='src/" + repo["tip"].hex() + "/'>files</a></p>"