1086
1086
def create_by_entry(tt, entry, tree, trans_id, lines=None, mode_id=None):
1087
1087
"""Create new file contents according to an inventory entry."""
1090
1090
lines = tree.get_file(entry.file_id).readlines()
1091
1091
tt.create_file(lines, trans_id, mode_id=mode_id)
1092
1092
elif entry.kind == "symlink":