aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-05 17:02:29 -0500
committerJack Nagel2014-12-05 17:05:48 -0500
commitecba7b4e7e172b625752048178cff81a232784e0 (patch)
tree093f6e79a611ba04e7189b04adda33a0d0fa9c68 /Library
parent72c21fe991a840f70830aa050b0c9741b016af43 (diff)
downloadbrew-ecba7b4e7e172b625752048178cff81a232784e0.tar.bz2
Stop supporting hg found in share/python
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 0d863ea4f..1e84bb272 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -621,12 +621,10 @@ class MercurialDownloadStrategy < VCSDownloadStrategy
def cache_tag; "hg" end
def hgpath
- # Note: #{HOMEBREW_PREFIX}/share/python/hg is deprecated
@path ||= %W[
#{which("hg")}
#{HOMEBREW_PREFIX}/bin/hg
#{HOMEBREW_PREFIX}/opt/mercurial/bin/hg
- #{HOMEBREW_PREFIX}/share/python/hg
].find { |p| File.executable? p }
end