~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/meta_store.py

merge from aaron - fixes bare excepts, adds ancestor namespace

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)