aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-06-15 21:32:15 -0400
committerJack Nagel2015-06-15 21:32:15 -0400
commit023bddbd046c7dce0f9e56344f9fb5e258e0f59f (patch)
treeef9b1b2e04c76f3e3afc32f5ccce141930973693 /Library
parent8bdc7b92d8f9b5bff1207b362295abc226d1d79c (diff)
downloadbrew-023bddbd046c7dce0f9e56344f9fb5e258e0f59f.tar.bz2
Make UnsafeSubversionDownloadStrategy a no-op
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 6b5148aa5..12807fab7 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -496,16 +496,12 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
end
end
- def fetch_args
- []
- end
-
def fetch_repo target, url, revision=nil, ignore_externals=false
# Use "svn up" when the repository already exists locally.
# This saves on bandwidth and will have a similar effect to verifying the
# cache as it will make any changes to get the right revision.
svncommand = target.directory? ? 'up' : 'checkout'
- args = ['svn', svncommand] + fetch_args
+ args = ['svn', svncommand]
args << url unless target.directory?
args << target
args << '-r' << revision if revision
@@ -542,14 +538,8 @@ end
# @deprecated
StrictSubversionDownloadStrategy = SubversionDownloadStrategy
-
# @deprecated
-class UnsafeSubversionDownloadStrategy < SubversionDownloadStrategy
- def fetch_args
- %w[--non-interactive --trust-server-cert]
- end
- private :fetch_args
-end
+UnsafeSubversionDownloadStrategy = SubversionDownloadStrategy
class GitDownloadStrategy < VCSDownloadStrategy
SHALLOW_CLONE_WHITELIST = [