hg site extension
 
(Arne Babenhauserheide)
2011-10-20: I’m too tired.

I’m too tired.

diff --git a/static.py b/static.py
--- a/static.py
+++ b/static.py
@@ -99,7 +99,7 @@ def writeoverview(ui, repo, target, name
             overview.write( "\n".join(readme.splitlines()[:3]))
             break
     # now the links to the log and the files.
-    overview.write("<p><a href='commits'>changelog</a> | <a href='src/" + repo["tip"].hex() + ".html'>files</a></p>")
+    overview.write("<p><a href='commits'>changelog</a> | <a href='src/" + repo["tip"].hex() + "/'>files</a></p>")
     # now add the 5 most recent log entries
     # divert all following ui output to a string, so we can just use standard functions
     overview.write("<h2>Changes (<a href='commits'>full changelog</a>)</h2>")