hgweb broken in current tip?
Michal Kvasnica
kvasnica at gmail.com
Sat Sep 24 04:13:31 CDT 2005
> still the same traceback even with current tip (1347:e89033eb90a5).
this fixes the issue for me:
--- hgweb.py.orig 2005-09-24 11:08:26.396337000 +0200
+++ hgweb.py 2005-09-24 11:08:28.766314000 +0200
@@ -27,7 +27,7 @@
return "%d %s" % (c, plural(t, c))
now = time.time()
- then = x[0]
+ then = x
delta = max(1, int(now - then))
scales = [["second", 1],
the point being that "lastupdate" is filtered by age() in index
template. but "lastupdate" generated by
os.stat(path_to_00changelog.d).st_mtime is an integer, which leads to an
error when trying to index it with "then = x[0]" in age().
More information about the Mercurial
mailing list