aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorSamuel John2013-06-04 16:59:15 +0200
committerSamuel John2013-06-04 17:05:02 +0200
commitf1a4dad61fd706f95d3280dc0b2efade296f0bb5 (patch)
tree1914e8780317aae187a42b5d8607499e9d3aff0e /Library/Homebrew
parent09d5f8abd69779d094df28fd4370315dac6b0817 (diff)
downloadhomebrew-f1a4dad61fd706f95d3280dc0b2efade296f0bb5.tar.bz2
mercurial: Install python bindings properly
Also allow to build with --HEAD by making brew's download strategy aware of a brewed but unlined hg. Adapted the caveats so that the procedure to brew hg --HEAD is clear. Mention how to config hgk in the caveats.
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 72a0652fb..90fa724dc 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -552,6 +552,7 @@ class MercurialDownloadStrategy < AbstractDownloadStrategy
@path ||= %W[
#{which("hg")}
#{HOMEBREW_PREFIX}/bin/hg
+ #{Formula.factory('mercurial').opt_prefix}/bin/hg
#{HOMEBREW_PREFIX}/share/python/hg
].find { |p| File.executable? p }
end