mercurial/hgweb/hgweb_mod.py
changeset 3179 76ab39df0917
parent 3178 0d0d7317bbc8
child 3205 48395d2692de
--- 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)