equal
deleted
inserted
replaced
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 |