mercurial/graphmod.py
changeset 7280 810ca383da9c
parent 7030 20a5dd5d6dd9
child 7565 5f162f61e479
equal deleted inserted replaced
7279:1f0f84660dea 7280:810ca383da9c
    33     cl = repo.changelog
    33     cl = repo.changelog
    34     colors = {}
    34     colors = {}
    35     new_color = 1
    35     new_color = 1
    36 
    36 
    37     while curr_rev >= stop_rev:
    37     while curr_rev >= stop_rev:
    38         node = cl.node(curr_rev)
       
    39 
       
    40         # Compute revs and next_revs
    38         # Compute revs and next_revs
    41         if curr_rev not in revs:
    39         if curr_rev not in revs:
    42             revs.append(curr_rev) # new head
    40             revs.append(curr_rev) # new head
    43             colors[curr_rev] = new_color
    41             colors[curr_rev] = new_color
    44             new_color += 1
    42             new_color += 1