Changeset 7878
- Timestamp:
- 10/14/07 14:34:26 (9 months ago)
- Files:
-
- tools/capistrano/CHANGELOG (modified) (1 diff)
- tools/capistrano/lib/capistrano/upload.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/capistrano/CHANGELOG
r7869 r7878 1 1 *SVN* 2 3 * Default to 0664 instead of 0660 on upload [Jamis Buck] 2 4 3 5 * Fix deploy:pending to query SCM for the subsequent revision so that it does not include the last deployed change [Jamis Buck] tools/capistrano/lib/capistrano/upload.rb
r7180 r7878 102 102 103 103 real_filename = filename.gsub(/\$CAPISTRANO:HOST\$/, server.host) 104 sftp.open(real_filename, IO::WRONLY | IO::CREAT | IO::TRUNC, options[:mode] || 066 0) do |status, handle|104 sftp.open(real_filename, IO::WRONLY | IO::CREAT | IO::TRUNC, options[:mode] || 0664) do |status, handle| 105 105 break unless check_status(sftp, "open #{real_filename}", server, status) 106 106