40
40
def pre_merge(nodes, name, partial_parent):
41
41
"""Accumulates path and determines merged node type."""
42
42
old_local_node, local_node, old_remote_node, remote_node = nodes
43
44
(parent_path, parent_type) = partial_parent
44
45
path = os.path.join(parent_path, name.encode("utf-8"))
45
46
node_type = merge_action.get_node_type(old_local_node=old_local_node,