Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 3179: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 Wed Sep 27 12:08:32 2006 -0700 +++ b/mercurial/hgweb/hgweb_mod.py Wed Sep 27 12:08:33 2006 -0700 @@ -292,9 +292,12 @@ 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)