~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Robert Collins
  • Date: 2008-04-08 22:47:55 UTC
  • mto: This revision was merged to the branch mainline in revision 3350.
  • Revision ID: robertc@robertcollins.net-20080408224755-cv6j2zt6ij6mvsav
Catch some extra deprecated calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
        # we fetch all the texts, because texts do
217
217
        # not reference anything, and its cheap enough
218
218
        to_weave.join(from_weave, version_ids=required_versions)
219
 
        # we don't need *all* of this data anymore, but we dont know
220
 
        # what we do. This cache clearing will result in a new read 
221
 
        # of the knit data when we do the checkout, but probably we
222
 
        # want to emit the needed data on the fly rather than at the
223
 
        # end anyhow.
224
 
        # the from weave should know not to cache data being joined,
225
 
        # but its ok to ask it to clear.
226
 
        from_weave.clear_cache()
227
 
        to_weave.clear_cache()
228
219
 
229
220
    def _fetch_inventory_weave(self, revs, pb):
230
221
        pb.update("fetch inventory", 0, 2)
242
233
            # corrupt.
243
234
            to_weave.join(from_weave, pb=child_pb, msg='merge inventory',
244
235
                          version_ids=revs)
245
 
            from_weave.clear_cache()
246
236
        finally:
247
237
            child_pb.finished()
248
238