~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Aaron Bentley
  • Date: 2008-11-23 16:27:08 UTC
  • mto: This revision was merged to the branch mainline in revision 3892.
  • Revision ID: aaron@aaronbentley.com-20081123162708-17093o7m3obv7czs
Unify CachingExtraParentsProvider and CachingParentsProvider.

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
        self._lock_count = 0
321
321
        self._leave_lock = False
322
322
        debug_cache = ('hpss' in debug.debug_flags)
323
 
        self._unstacked_provider = graph.CachingExtraParentsProvider(
324
 
            self._get_parent_map_rpc, debug_cache)
 
323
        self._unstacked_provider = graph.CachingParentsProvider(
 
324
            get_parent_map=self._get_parent_map_rpc, debug=debug_cache)
 
325
        self._unstacked_provider.disable_cache()
325
326
        # For tests:
326
327
        # These depend on the actual remote format, so force them off for
327
328
        # maximum compatibility. XXX: In future these should depend on the