Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9364: scm_auth_cach.diff.txt

File scm_auth_cach.diff.txt, 0.6 kB (added by tsmith, 1 year ago)
Line 
1 Index: lib/capistrano/recipes/deploy/scm/subversion.rb
2 ===================================================================
3 --- lib/capistrano/recipes/deploy/scm/subversion.rb     (revision
4 7305)
5 +++ lib/capistrano/recipes/deploy/scm/subversion.rb     (working copy)
6 @@ -87,7 +87,7 @@
7              auth = ""
8              auth << "--username #{variable(:scm_username)} " if
9 variable(:scm_username)
10              auth << "--password #{variable(:scm_password)} " if
11 variable(:scm_password)
12 -            auth << "--no-auth-cache" if !auth.empty?
13 +            auth << "--no-auth-cache" if !auth.empty? && !
14 variable(:scm_auth_cache)
15              auth
16            end