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