/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 branchview/linegraph.py

  • Committer: Jelmer Vernooij
  • Date: 2008-04-30 13:08:30 UTC
  • mfrom: (473.1.1 bzr-gtk)
  • Revision ID: jelmer@samba.org-20080430130830-i1y4ytmi5ov6km4f
Merge Andrews' fix for gannotate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
            graph_parents[revid] = parent_revids
58
58
        for parent in parent_revids:
59
59
            graph_children.setdefault(parent, []).append(revid)
60
 
        graph_children.setdefault(revid, [])
 
60
        graph_children[revid] = []
61
61
    for ghost in ghosts:
62
62
        for ghost_child in graph_children[ghost]:
63
63
            graph_parents[ghost_child] = [p for p in graph_parents[ghost_child]