comparison mercurial/graphmod.py @ 7030:20a5dd5d6dd9

hgweb: let the web graph cope with low revisions/new repositories (issue1293)
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Fri, 12 Sep 2008 16:15:01 +0200
parents f6c00b17387c
children 810ca383da9c
comparison
equal deleted inserted replaced
7029:b84d27386285 7030:20a5dd5d6dd9
25 - The changeset author 25 - The changeset author
26 - The changeset date/time 26 - The changeset date/time
27 """ 27 """
28 28
29 assert start_rev >= stop_rev 29 assert start_rev >= stop_rev
30 assert stop_rev >= 0
30 curr_rev = start_rev 31 curr_rev = start_rev
31 revs = [] 32 revs = []
32 cl = repo.changelog 33 cl = repo.changelog
33 colors = {} 34 colors = {}
34 new_color = 1 35 new_color = 1