Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb.py @ 977:289975641886
hgweb: Changed annotate page to list format syntax
author | Josef "Jeff" Sipek <jeffpc@optonline.net> |
---|---|
date | Wed, 17 Aug 2005 22:03:28 -0500 |
parents | 5d5ab159d197 |
children | ea67e5b37043 |
comparison
equal
deleted
inserted
replaced
976:5d5ab159d197 | 977:289975641886 |
---|---|
485 | 485 |
486 if last != cnode: | 486 if last != cnode: |
487 parity = 1 - parity | 487 parity = 1 - parity |
488 last = cnode | 488 last = cnode |
489 | 489 |
490 yield self.t("annotateline", | 490 yield {"parity": parity, |
491 parity = parity, | 491 "node": hex(cnode), |
492 node = hex(cnode), | 492 "rev": r, |
493 rev = r, | 493 "author": name, |
494 author = name, | 494 "file": f, |
495 file = f, | 495 "line": l} |
496 line = l) | |
497 | 496 |
498 yield self.t("fileannotate", | 497 yield self.t("fileannotate", |
499 file = f, | 498 file = f, |
500 filenode = node, | 499 filenode = node, |
501 annotate = annotate, | 500 annotate = annotate, |