~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/pack_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-11-27 08:26:50 UTC
  • mfrom: (3860.1.1 153786-retry)
  • Revision ID: pqm@pqm.ubuntu.com-20081127082650-adzra5ok5apue0gl
(mbp, for jam) retry when pack operations fail

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
        self._reload_func = reload_func
475
475
        self.index_to_pack = {}
476
476
        self.combined_index = CombinedGraphIndex([], reload_func=reload_func)
477
 
        self.data_access = _DirectPackAccess(self.index_to_pack)
 
477
        self.data_access = _DirectPackAccess(self.index_to_pack,
 
478
                                             reload_func=reload_func)
478
479
        self.add_callback = None
479
480
 
480
481
    def replace_indices(self, index_to_pack, indices):