/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: Gary van der Merwe
  • Date: 2007-10-01 21:45:28 UTC
  • mto: This revision was merged to the branch mainline in revision 296.
  • Revision ID: garyvdm@gmail.com-20071001214528-bq6303gru2tra5bc
Fix Bug #147766 - bzr viz doesn't show revision 1

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():