1086
1102
executable = tree.is_executable(entry.file_id)
1087
1103
return tt.new_file(name, parent_id, contents, entry.file_id,
1092
1111
target = tree.get_symlink_target(entry.file_id)
1093
1112
return tt.new_symlink(name, parent_id, target, entry.file_id)
1095
1116
def create_by_entry(tt, entry, tree, trans_id, lines=None, mode_id=None):
1096
1117
"""Create new file contents according to an inventory entry."""