aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2013-08-08 21:56:13 -0700
committerAdam Vandenberg2013-08-08 21:56:18 -0700
commitc15b3f9dbf0afd53ce29eff73c59ce3974fec6ef (patch)
tree99b8dc76aa0e9603492bce6b79f426eff57e8a06 /Library/Homebrew
parentd471f96fc5ad1c0a7e14d7ffce5bcd9e6f15aeaf (diff)
downloadhomebrew-c15b3f9dbf0afd53ce29eff73c59ce3974fec6ef.tar.bz2
Add SourceForge hg pattern
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/download_strategy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index bf1b1b1de..48cc02ab8 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