Stop supporting hg found in share/python
This commit is contained in:
parent
72c21fe991
commit
ecba7b4e7e
@ -621,12 +621,10 @@ class MercurialDownloadStrategy < VCSDownloadStrategy
|
|||||||
def cache_tag; "hg" end
|
def cache_tag; "hg" end
|
||||||
|
|
||||||
def hgpath
|
def hgpath
|
||||||
# Note: #{HOMEBREW_PREFIX}/share/python/hg is deprecated
|
|
||||||
@path ||= %W[
|
@path ||= %W[
|
||||||
#{which("hg")}
|
#{which("hg")}
|
||||||
#{HOMEBREW_PREFIX}/bin/hg
|
#{HOMEBREW_PREFIX}/bin/hg
|
||||||
#{HOMEBREW_PREFIX}/opt/mercurial/bin/hg
|
#{HOMEBREW_PREFIX}/opt/mercurial/bin/hg
|
||||||
#{HOMEBREW_PREFIX}/share/python/hg
|
|
||||||
].find { |p| File.executable? p }
|
].find { |p| File.executable? p }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user