2621
2621
tt.adjust_path(name[1], parent_trans, trans_id)
2622
2622
if executable[0] != executable[1] and kind[1] == "file":
2623
2623
tt.set_executability(executable[1], trans_id)
2624
for (trans_id, mode_id), bytes in target_tree.iter_files_bytes(
2626
tt.create_file(bytes, trans_id, mode_id)
2624
if working_tree.supports_content_filtering():
2625
for index, ((trans_id, mode_id), bytes) in enumerate(
2626
target_tree.iter_files_bytes(deferred_files)):
2627
file_id = deferred_files[index][0]
2628
filter_tree_path = target_tree.id2path(file_id)
2629
filters = working_tree._content_filter_stack(filter_tree_path)
2630
bytes = filtered_output_bytes(bytes, filters,
2631
ContentFilterContext(filter_tree_path, working_tree))
2632
tt.create_file(bytes, trans_id, mode_id)
2634
for (trans_id, mode_id), bytes in target_tree.iter_files_bytes(
2636
tt.create_file(bytes, trans_id, mode_id)
2628
2638
if basis_tree is not None:
2629
2639
basis_tree.unlock()