Changeset 8754
- Timestamp:
- 01/30/08 05:56:23 (7 months ago)
- Files:
-
- tools/capistrano/CHANGELOG (modified) (1 diff)
- tools/capistrano/lib/capistrano/recipes/deploy/scm/subversion.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/capistrano/CHANGELOG
r8753 r8754 1 1 *SVN* 2 3 * If subversion asks for a password, prompt as a last resort [Jamis Buck] 2 4 3 5 * Use checkout --lightweight for bzr checkout, instead of branch [michiels] tools/capistrano/lib/capistrano/recipes/deploy/scm/subversion.rb
r7869 r8754 73 73 when /\bpassword.*:/i 74 74 # subversion is prompting for a password 75 "#{ variable(:scm_password) || variable(:password)}\n"75 "#{scm_password_prompt}\n" 76 76 when %r{\(yes/no\)} 77 77 # subversion is asking whether or not to connect … … 108 108 variable(:scm_verbose) ? nil : "-q" 109 109 end 110 111 def scm_password_prompt 112 @scm_password_prompt ||= variable(:scm_password) || 113 variable(:password) || 114 Capistrano::CLI.password_prompt("Subversion password: ") 115 end 110 116 end 111 117