~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/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:
436
436
        for record in substream:
437
437
            if record.storage_kind in ('chunked', 'fulltext'):
438
438
                serialised = record_to_fulltext_bytes(record)
439
 
            elif record.storage_kind == 'absent':
440
 
                raise ValueError("Absent factory for %s" % (record.key,))
441
439
            else:
442
440
                serialised = record.get_bytes_as(record.storage_kind)
443
441
            if serialised: