aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 82e53a35a..e77e14cfe 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -623,6 +623,10 @@ class ResourceAuditor
end
def audit_download_strategy
+ if url =~ %r[^(cvs|bzr|hg|fossil)://] || url =~ %r[^(svn)\+http://]
+ problem "Use of the #{$&} scheme is deprecated, pass `:using => :#{$1}` instead"
+ end
+
return unless using
if using == :ssl3 || using == CurlSSL3DownloadStrategy