~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Aaron Bentley
  • Date: 2008-11-18 21:43:36 UTC
  • mto: This revision was merged to the branch mainline in revision 3840.
  • Revision ID: aaron@aaronbentley.com-20081118214336-53wku2p6og6kvl5r
Updates from review

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
        self.base = self.bzrdir.transport.base
346
346
        # Additional places to query for data.
347
347
        self._fallback_repositories = []
348
 
        self._parents_provider = None
349
348
 
350
349
    def __str__(self):
351
350
        return "%s(%s)" % (self.__class__.__name__, self.base)
1224
1223
        return self._real_repository._check_for_inconsistent_revision_parents()
1225
1224
 
1226
1225
    def _make_parents_provider(self):
1227
 
        if self._parents_provider is None:
1228
 
            providers = [_UnstackedParentsProvider(self)]
1229
 
            providers.extend(r._make_parents_provider() for r in
1230
 
                             self._fallback_repositories)
1231
 
            self._parents_provider = graph._StackedParentsProvider(providers)
1232
 
        return self._parents_provider
 
1226
        providers = [_UnstackedParentsProvider(self)]
 
1227
        providers.extend(r._make_parents_provider() for r in
 
1228
                         self._fallback_repositories)
 
1229
        return graph._StackedParentsProvider(providers)
1233
1230
 
1234
1231
    def _serialise_search_recipe(self, recipe):
1235
1232
        """Serialise a graph search recipe.