Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

extract code to copy_repository_to_server

  • Loading branch information...
commit 7897b460445830af01f887b622a3c6cda64a03c7 1 parent 8586954
@despo authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/capistrano/recipes/deploy/strategy/copy.rb
View
8 lib/capistrano/recipes/deploy/strategy/copy.rb
@@ -66,8 +66,7 @@ def deploy!
build(copy_cache)
copy_cache_to_server
else
- logger.debug "getting (via #{copy_strategy}) revision #{revision} to #{destination}"
- system(command)
+ copy_repository_to_server
build(destination)
@@ -167,6 +166,11 @@ def copy_cache_to_server
end
end
+ def copy_repository_to_server
+ logger.debug "getting (via #{copy_strategy}) revision #{revision} to #{destination}"
+ system(command)
+ end
+
# Specify patterns to exclude from the copy. This is only valid
# when using a local cache.
def copy_exclude
Please sign in to comment.
Something went wrong with that request. Please try again.