/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 object_store.py

Use blob.chunked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
        [(ie.file_id, ie.revision, (path, ie))
184
184
            for (path, ie) in new_blobs]):
185
185
        obj = Blob()
186
 
        obj.data = "".join(chunks)
 
186
        obj.chunked = chunks
187
187
        yield path, obj, ie
188
188
        shamap[ie.file_id] = obj.id
189
189
 
333
333
        """
334
334
        blob = Blob()
335
335
        chunks = self.repository.iter_files_bytes([(fileid, revision, None)]).next()[1]
336
 
        blob.data = "".join(chunks)
 
336
        blob.chunked = chunks
337
337
        if blob.id != expected_sha:
338
338
            # Perhaps it's a symlink ?
339
339
            inv = self.parent_invs_cache.get_inventory(revision)