325
325
kind = tree.get_kind(file_id)
326
326
ie = InventoryEntry(file_id, name, kind, parent_id, text_id=text_id)
327
327
ie.text_size, ie.text_sha1 = tree.get_size_and_sha1(file_id)
329
329
raise BzrError('Got a text_size of None for file_id %r' % file_id)