pass my_nodes to copy_repo function