Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
6746:1dca460e7d1e | 6747:f6c00b17387c |
---|---|
329 line=l, | 329 line=l, |
330 lineid="l%s" % lineno, | 330 lineid="l%s" % lineno, |
331 linenumber="% 8s" % lineno) | 331 linenumber="% 8s" % lineno) |
332 | 332 |
333 r = self.repo | 333 r = self.repo |
334 c1 = r.changectx(node1) | 334 c1 = r[node1] |
335 c2 = r.changectx(node2) | 335 c2 = r[node2] |
336 date1 = util.datestr(c1.date()) | 336 date1 = util.datestr(c1.date()) |
337 date2 = util.datestr(c2.date()) | 337 date2 = util.datestr(c2.date()) |
338 | 338 |
339 modified, added, removed, deleted, unknown = r.status(node1, node2)[:5] | 339 modified, added, removed, deleted, unknown = r.status(node1, node2)[:5] |
340 if files: | 340 if files: |