~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Mattias Eriksson
  • Date: 2009-06-02 09:18:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4398.
  • Revision ID: snaggen@acc.umu.se-20090602091826-r55iaxfwy9fn1up3
Fix to avoid possible race conditions if import ordering is changed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4265
4265
                continue
4266
4266
            # Ask for full texts always so that we don't need more round trips
4267
4267
            # after this stream.
4268
 
            # Some of the missing keys are genuinely ghosts, so filter absent
4269
 
            # records. The Sink is responsible for doing another check to
4270
 
            # ensure that ghosts don't introduce missing data for future
4271
 
            # fetches.
4272
 
            stream = versionedfile.filter_absent(vf.get_record_stream(keys,
4273
 
                self.to_format._fetch_order, True))
 
4268
            stream = vf.get_record_stream(keys,
 
4269
                self.to_format._fetch_order, True)
4274
4270
            yield substream_kind, stream
4275
4271
 
4276
4272
    def inventory_fetch_order(self):