diff -r 5afe0ca59b07 -r acd8a2454b47 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Fri Jan 05 18:46:06 2018 +0800 +++ b/mercurial/hgweb/webcommands.py Fri Jan 05 19:08:00 2018 +0800 @@ -1265,6 +1265,7 @@ for (id, type, ctx, vtx, edges) in fulltree()] def nodes(): + parity = paritygen(web.stripecount) for row, (id, type, ctx, vtx, edges) in enumerate(tree): entry = webutil.commonentry(web.repo, ctx) edgedata = [{'col': edge[0], @@ -1276,6 +1277,7 @@ entry.update({'col': vtx[0], 'color': (vtx[1] - 1) % 6 + 1, + 'parity': next(parity), 'edges': edgedata, 'row': row, 'nextrow': row + 1})