Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/hgweb/hgweb_mod.py @ 3172:76ab39df0917
gitweb: cosmetic fixes.
Fix the padding around the changelog description.
Alternate row colours for the changeset file list.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 27 Sep 2006 12:08:33 -0700 |
parents | 0d0d7317bbc8 |
children | 48395d2692de |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -292,9 +292,12 @@ class hgweb(object): files = [] mf = self.repo.manifest.read(changes[0]) + parity = 0 for f in changes[3]: files.append(self.t("filenodelink", - filenode=hex(mf.get(f, nullid)), file=f)) + filenode=hex(mf.get(f, nullid)), file=f, + parity=parity)) + parity = 1 - parity def diff(**map): yield self.diff(p1, n, None)