~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/vf_repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-14 23:42:30 UTC
  • mfrom: (5815.5.12 per-file-graph)
  • Revision ID: pqm@pqm.ubuntu.com-20110514234230-f8yy3myzrtp5sxt2
(jelmer) Add Repository.get_file_graph(). (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1822
1822
        known_graph = self.revisions.get_known_graph_ancestry(revision_keys)
1823
1823
        return graph.GraphThunkIdsToKeys(known_graph)
1824
1824
 
 
1825
    @needs_read_lock
 
1826
    def get_file_graph(self):
 
1827
        """Return the graph walker for text revisions."""
 
1828
        return graph.Graph(self.texts)
 
1829
 
1825
1830
    def _get_versioned_file_checker(self, text_key_references=None,
1826
1831
        ancestors=None):
1827
1832
        """Return an object suitable for checking versioned files.