/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to mapping.py

Use blob.chunked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
500
500
                from dulwich.objects import Blob
501
501
                stream = texts.get_record_stream(
502
502
                    [(entry.file_id, entry.revision)], 'unordered', True)
503
 
                text = stream.next().get_bytes_as('fulltext')
504
503
                blob = Blob()
505
 
                blob.data = text
 
504
                blob.chunked = stream.next().get_bytes_as('chunks')
506
505
            elif entry.kind == "symlink":
507
506
                blob = symlink_to_blob(entry)
508
507
            else: