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