mercurial/hgweb/hgweb_mod.py
changeset 3179 76ab39df0917
parent 3178 0d0d7317bbc8
child 3205 48395d2692de
equal deleted inserted replaced
3178:0d0d7317bbc8 3179:76ab39df0917
   290         changes = cl.read(n)
   290         changes = cl.read(n)
   291         p1 = cl.parents(n)[0]
   291         p1 = cl.parents(n)[0]
   292 
   292 
   293         files = []
   293         files = []
   294         mf = self.repo.manifest.read(changes[0])
   294         mf = self.repo.manifest.read(changes[0])
       
   295         parity = 0
   295         for f in changes[3]:
   296         for f in changes[3]:
   296             files.append(self.t("filenodelink",
   297             files.append(self.t("filenodelink",
   297                                 filenode=hex(mf.get(f, nullid)), file=f))
   298                                 filenode=hex(mf.get(f, nullid)), file=f,
       
   299                                 parity=parity))
       
   300             parity = 1 - parity
   298 
   301 
   299         def diff(**map):
   302         def diff(**map):
   300             yield self.diff(p1, n, None)
   303             yield self.diff(p1, n, None)
   301 
   304 
   302         yield self.t('changeset',
   305         yield self.t('changeset',