From 623b21a7bd2c346427f88e8711fb1e2d90aaa6e0 Mon Sep 17 00:00:00 2001 From: Samuel John Date: Tue, 4 Jun 2013 16:59:15 +0200 Subject: [PATCH] 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. --- 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 72a0652fbe..90fa724dc0 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