mercurial/hgweb/webcommands.py
changeset 16129 5e50982c633c
parent 15727 917f263eeb26
child 16308 2695aaf4eb72
equal deleted inserted replaced
16128:004982e5d782 16129:5e50982c633c
   768     # if starting revision is less than 60 set it to uprev
   768     # if starting revision is less than 60 set it to uprev
   769     if rev < web.maxshortchanges:
   769     if rev < web.maxshortchanges:
   770         startrev = uprev
   770         startrev = uprev
   771 
   771 
   772     dag = graphmod.dagwalker(web.repo, range(startrev, downrev - 1, -1))
   772     dag = graphmod.dagwalker(web.repo, range(startrev, downrev - 1, -1))
   773     tree = list(graphmod.colored(dag))
   773     tree = list(graphmod.colored(dag, web.repo))
   774     canvasheight = (len(tree) + 1) * bg_height - 27
   774     canvasheight = (len(tree) + 1) * bg_height - 27
   775     data = []
   775     data = []
   776     for (id, type, ctx, vtx, edges) in tree:
   776     for (id, type, ctx, vtx, edges) in tree:
   777         if type != graphmod.CHANGESET:
   777         if type != graphmod.CHANGESET:
   778             continue
   778             continue