~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/meta_store.py

  • Committer: Martin Pool
  • Date: 2005-09-13 09:34:31 UTC
  • mto: (1185.8.2) (974.1.91)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: mbp@sourcefrog.net-20050913093431-9f8dd22d28d6510d
- merge pull & missing-revision improvements from aaron

aaron.bentley@utoronto.ca-20050913024207-489d573af4b76c4d

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.
39
41
        """
40
42
        mutter("Prefetch of ids %s" % ",".join(ids))
41
 
        self.cache_store.copy_multi(self.source_store, ids)
 
43
        self.cache_store.copy_multi(self.source_store, ids, 
 
44
                                    permit_failure=True)