mercurial/hgweb/hgweb_mod.py
changeset 6747 f6c00b17387c
parent 6460 a63aed912e54
child 6776 39319a457dda
--- a/mercurial/hgweb/hgweb_mod.py	Thu Jun 26 13:58:24 2008 -0500
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Jun 26 14:35:46 2008 -0500
@@ -331,8 +331,8 @@
                            linenumber="% 8s" % lineno)
 
         r = self.repo
-        c1 = r.changectx(node1)
-        c2 = r.changectx(node2)
+        c1 = r[node1]
+        c2 = r[node2]
         date1 = util.datestr(c1.date())
         date2 = util.datestr(c2.date())