/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/graph.py

  • Committer: Jelmer Vernooij
  • Date: 2006-05-19 16:56:46 UTC
  • mfrom: (0.1.25 gannotate)
  • Revision ID: jelmer@samba.org-20060519165646-0d867938fdbc9097
Merge in Dan Loda's gannotate plugin and put it in annotate/

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
1
2
# -*- coding: UTF-8 -*-
2
3
"""Directed graph production.
3
4
 
76
77
        self.graph = {}
77
78
 
78
79
    def fill_caches(self):
 
80
        # FIXME: look at using repository.get_revision_graph_with_ghosts - RBC.
79
81
        graph = self.branch.repository.get_revision_graph_with_ghosts([self.start])
80
82
        for revid in graph.ghosts:
81
83
            self.cache_revision(DummyRevision(revid))