aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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 = [