592
592
'text_id', 'parent_id', 'children', 'executable',
593
593
'revision', 'symlink_target', 'reference_revision']
596
596
"""See InventoryEntry._check"""
597
597
if self.text_sha1 is not None or self.text_size is not None or self.text_id is not None:
598
598
checker._report_items.append(
599
599
'symlink {%s} has text in revision {%s}'
601
601
if self.symlink_target is None:
602
602
checker._report_items.append(
603
603
'symlink {%s} has no target in revision {%s}'
605
605
# Symlinks are stored as ''
606
606
checker.add_pending_item(tree_revision_id,
607
607
('texts', self.file_id, self.revision), 'text',