    # File lib/chef/provider/deploy.rb, line 262
          def copy_cached_repo
            target_dir_path = @new_resource.deploy_to + "/releases"
            converge_by("deploy from repo to #{@target_dir_path} ") do
              FileUtils.mkdir_p(target_dir_path)
              FileUtils.cp_r(::File.join(@new_resource.destination, "."), release_path, :preserve => true)
              Chef::Log.info "#{@new_resource} copied the cached checkout to #{release_path}"
              release_created(release_path)
            end
          end