77
78
# Penalise revisions a little at a fork if we think they're on
78
79
# the same branch -- this makes the few few (at least) revisions
79
80
# of a branch appear straight after the fork
81
83
colours[parent_id] = colour
82
84
if len(revision.parent_ids) > 1:
83
85
distances[parent_id] = distance + 10