diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -538,10 +538,10 @@ class hgweb(object): owner = (self.repo.ui.config("ui", "username") or # preferred self.repo.ui.config("web", "contact") or # deprecated self.repo.ui.config("web", "author", "unknown")), # also - lastchange = (0, 0), # FIXME + lastchange = cl.read(cl.tip())[2], tags = tagentries, shortlog = changelist, - node = hex(self.repo.changelog.tip()), + node = hex(cl.tip()), archives=self.archivelist("tip")) def filediff(self, fctx): diff --git a/templates/gitweb/summary.tmpl b/templates/gitweb/summary.tmpl --- a/templates/gitweb/summary.tmpl +++ b/templates/gitweb/summary.tmpl @@ -21,7 +21,7 @@ summary |
description | #desc# |
owner | #owner|escape# |
last change | #lastchange|rfc822date# |