~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-14 05:49:27 UTC
  • mfrom: (4476.3.86 inventory-delta)
  • Revision ID: pqm@pqm.ubuntu.com-20090814054927-k0k18dn46ax4b91f
(andrew) Add inventory-delta streaming for cross-format fetch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1571
1571
            record.get_bytes_as(record.storage_kind) call.
1572
1572
        """
1573
1573
        self._bytes_iterator = bytes_iterator
1574
 
        self._kind_factory = {'knit-ft-gz':knit.knit_network_to_record,
1575
 
            'knit-delta-gz':knit.knit_network_to_record,
1576
 
            'knit-annotated-ft-gz':knit.knit_network_to_record,
1577
 
            'knit-annotated-delta-gz':knit.knit_network_to_record,
1578
 
            'knit-delta-closure':knit.knit_delta_closure_to_records,
1579
 
            'fulltext':fulltext_network_to_record,
1580
 
            'groupcompress-block':groupcompress.network_block_to_records,
 
1574
        self._kind_factory = {
 
1575
            'fulltext': fulltext_network_to_record,
 
1576
            'groupcompress-block': groupcompress.network_block_to_records,
 
1577
            'knit-ft-gz': knit.knit_network_to_record,
 
1578
            'knit-delta-gz': knit.knit_network_to_record,
 
1579
            'knit-annotated-ft-gz': knit.knit_network_to_record,
 
1580
            'knit-annotated-delta-gz': knit.knit_network_to_record,
 
1581
            'knit-delta-closure': knit.knit_delta_closure_to_records,
1581
1582
            }
1582
1583
 
1583
1584
    def read(self):