1427
1429
def change_entry(tt, file_id, working_tree, target_tree,
1428
1430
trans_id_file_id, backups, trans_id, by_parent):
1429
1431
"""Replace a file_id's contents with those from a target tree."""
1430
1435
e_trans_id = trans_id_file_id(file_id)
1431
1436
entry = target_tree.inventory[file_id]
1432
1437
has_contents, contents_mod, meta_mod, = _entry_changes(file_id, entry,