588
587
and self.text_size == file_parents.values()[0].text_size):
589
588
previous_ie = file_parents.values()[0]
590
589
versionedfile = weave_store.get_weave(self.file_id, transaction)
593
592
new_lines = work_tree.get_file(self.file_id).readlines()
594
self._add_text_to_weave(new_lines, file_parents, weave_store,
593
self._add_text_to_weave(new_lines, file_parents.keys(), weave_store,
596
595
self.text_sha1 = sha_strings(new_lines)
597
596
self.text_size = sum(map(len, new_lines))