~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Aaron Bentley
  • Date: 2007-06-08 21:48:42 UTC
  • mto: This revision was merged to the branch mainline in revision 2534.
  • Revision ID: abentley@panoramicfeedback.com-20070608214842-t47flt7htr2xz0yh
Rename graph to deprecated_graph

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from bzrlib import (
26
26
    bzrdir,
27
27
    check,
 
28
    deprecated_graph,
28
29
    errors,
29
30
    generate_ids,
30
31
    gpg,
31
32
    graph,
32
 
    graph_walker,
33
33
    lazy_regex,
34
34
    lockable_files,
35
35
    lockdir,
704
704
        :param revision_ids: an iterable of revisions to graph or None for all.
705
705
        :return: a Graph object with the graph reachable from revision_ids.
706
706
        """
707
 
        result = graph.Graph()
 
707
        result = deprecated_graph.Graph()
708
708
        if not revision_ids:
709
709
            pending = set(self.all_revision_ids())
710
710
            required = set([])
883
883
    def _make_parents_provider(self):
884
884
        return self
885
885
 
886
 
    def get_graph_walker(self, other_repository=None):
 
886
    def get_graph(self, other_repository=None):
887
887
        """Return the graph walker for this repository format"""
888
888
        parents_provider = self._make_parents_provider()
889
889
        if (other_repository is not None and
890
890
            other_repository.bzrdir.transport.base !=
891
891
            self.bzrdir.transport.base):
892
 
            parents_provider = graph_walker._StackedParentsProvider(
 
892
            parents_provider = graph._StackedParentsProvider(
893
893
                [parents_provider, other_repository._make_parents_provider()])
894
 
        return graph_walker.GraphWalker(parents_provider)
 
894
        return graph.GraphWalker(parents_provider)
895
895
 
896
896
    @needs_write_lock
897
897
    def set_make_working_trees(self, new_value):