diff mercurial/hgweb/hgweb_mod.py @ 3361:c10eacad7171

gitweb: fix last change field in summary
author Brendan Cully <brendan@kublai.com>
date Wed, 11 Oct 2006 16:32:06 -0700
parents 8ec80c1b8f0b
children 818598f5bc8b
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Wed Oct 11 16:20:35 2006 -0700
+++ b/mercurial/hgweb/hgweb_mod.py	Wed Oct 11 16:32:06 2006 -0700
@@ -538,10 +538,10 @@
                  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):