comparison mercurial/graphmod.py @ 7280:810ca383da9c

remove unused variables
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 28 Oct 2008 19:25:26 +0100
parents 20a5dd5d6dd9
children 5f162f61e479
comparison
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