/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to viz/linegraph.py

  • Committer: Jelmer Vernooij
  • Date: 2007-10-04 17:31:30 UTC
  • mfrom: (290.1.1 gtk)
  • Revision ID: jelmer@samba.org-20071004173130-1eaqgxvvf2n7psbo
Merge missing rev1 fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    
47
47
    # We get the mainline so we can pass it to merge_sort to make merge_sort
48
48
    # run faster.
49
 
    mainline = branch.revision_history()
 
49
    mainline = [None]
 
50
    mainline.extend(branch.revision_history())
50
51
    graph_parents = branch.repository.get_revision_graph(start)
51
52
    graph_children = {}
52
53
    for revid in graph_parents.iterkeys():