~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/meta_store.py

  • Committer: aaron.bentley at utoronto
  • Date: 2005-08-21 00:08:08 UTC
  • mto: (1092.1.41) (1185.3.4)
  • mto: This revision was merged to the branch mainline in revision 1110.
  • Revision ID: aaron.bentley@utoronto.ca-20050821000808-2a0e6ef95b1bca59
Changed copy_multi to permit failure and return a tuple, tested missing required revisions

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        """Copy a series of ids into the cache, before they are used.
37
37
        For remote stores that support pipelining or async downloads, this can
38
38
        increase speed considerably.
39
 
 
40
 
        Failures while prefetching are ignored.
41
39
        """
42
40
        mutter("Prefetch of ids %s" % ",".join(ids))
43
 
        self.cache_store.copy_multi(self.source_store, ids, 
44
 
                                    permit_failure=True)
 
41
        self.cache_store.copy_multi(self.source_store, ids)