Browse files

auto-require the SSH shell service, to avoid race conditions. fix doc…

…umentation for the get command.

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 5c370ba commit 01103e63ea5d2898da1afa16aafc4171a7d77dfd @jamis jamis committed Jul 19, 2007
Showing with 4 additions and 3 deletions.
  1. +2 −0 CHANGELOG
  2. +1 −3 lib/capistrano/configuration/actions/file_transfer.rb
  3. +1 −0 lib/capistrano/ssh.rb
View
2 CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Auto-require the SSH shell service, to avoid race conditions [Jamis Buck]
+
* Add a millisecond sleep in upload to reduce CPU impact [Jamis Buck]
* Allow the logger to be set via Configuration#logger= [Jamis Buck]
View
4 lib/capistrano/configuration/actions/file_transfer.rb
@@ -16,9 +16,7 @@ def put(data, path, options={})
end
# Get file remote_path from FIRST server targetted by
- # the current task and transfer it to local machine as path. It will use
- # SFTP if Net::SFTP is installed; otherwise it will fall back to using
- # 'cat', which may cause corruption in binary files.
+ # the current task and transfer it to local machine as path.
#
# get "#{deploy_to}/current/log/production.log", "log/production.log.web"
def get(remote_path, path, options = {})
View
1 lib/capistrano/ssh.rb
@@ -19,6 +19,7 @@ module Capistrano
service/agentforward/services service/agentforward/driver
service/process/driver util/prompter
service/forward/services service/forward/driver service/forward/local-network-handler service/forward/remote-network-handler
+ service/shell/services service/shell/driver
lenient-host-key-verifier
transport/compress/services transport/compress/zlib-compressor transport/compress/none-compressor transport/compress/zlib-decompressor transport/compress/none-decompressor
transport/kex/services transport/kex/dh transport/kex/dh-gex

0 comments on commit 01103e6

Please sign in to comment.