Mercurial > hg
diff mercurial/hgweb/hgweb_mod.py @ 6747:f6c00b17387c
use repo[changeid] to get a changectx
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 26 Jun 2008 14:35:46 -0500 |
parents | a63aed912e54 |
children | 39319a457dda |
line wrap: on
line diff
--- 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())