~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

(Gary van der Merwe) Add bzrlib.graph.StackedParentsProvider as a
        public API, deprecating the old name of '_StackedParentsProvider'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2384
2384
        return self.control_files.get_transaction()
2385
2385
 
2386
2386
    def get_parent_map(self, revision_ids):
2387
 
        """See graph._StackedParentsProvider.get_parent_map"""
 
2387
        """See graph.StackedParentsProvider.get_parent_map"""
2388
2388
        # revisions index works in keys; this just works in revisions
2389
2389
        # therefore wrap and unwrap
2390
2390
        query_keys = []
2413
2413
        parents_provider = self._make_parents_provider()
2414
2414
        if (other_repository is not None and
2415
2415
            not self.has_same_location(other_repository)):
2416
 
            parents_provider = graph._StackedParentsProvider(
 
2416
            parents_provider = graph.StackedParentsProvider(
2417
2417
                [parents_provider, other_repository._make_parents_provider()])
2418
2418
        return graph.Graph(parents_provider)
2419
2419