From a3796d7b72a7675057146446719aaedcda979f7e Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 8 Aug 2013 21:56:13 -0700 Subject: [PATCH] Add SourceForge hg pattern --- Library/Homebrew/download_strategy.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index bf1b1b1de5..48cc02ab8b 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -736,6 +736,7 @@ class DownloadStrategyDetector when %r[^https?://(.+?\.)?googlecode\.com/hg] then MercurialDownloadStrategy when %r[^https?://(.+?\.)?googlecode\.com/svn] then SubversionDownloadStrategy when %r[^https?://(.+?\.)?sourceforge\.net/svnroot/] then SubversionDownloadStrategy + when %r[^https?://(.+?\.)?sourceforge\.net/hgweb/] then MercurialDownloadStrategy when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy when %r[^http://www.apache.org/dyn/closer.cgi] then CurlApacheMirrorDownloadStrategy # Common URL patterns