~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/repository.py

  • Committer: Robert J. Tanner
  • Date: 2009-06-10 03:56:49 UTC
  • mfrom: (4423 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4425.
  • Revision ID: tanner@real-time.com-20090610035649-7rfx4cls4550zc3c
Merge 1.15.1 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import threading
27
27
 
28
28
from bzrlib import (
 
29
    bencode,
29
30
    errors,
30
31
    graph,
31
32
    osutils,
39
40
    )
40
41
from bzrlib.repository import _strip_NULL_ghosts, network_format_registry
41
42
from bzrlib import revision as _mod_revision
42
 
from bzrlib.util import bencode
43
43
from bzrlib.versionedfile import NetworkRecordStream, record_to_fulltext_bytes
44
44
 
45
45
 
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,))
439
441
            else:
440
442
                serialised = record.get_bytes_as(record.storage_kind)
441
443
            if serialised: