Skip to content
Snippets Groups Projects
Commit 623b21a7 authored by Samuel John's avatar Samuel John
Browse files

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.
parent bca356dd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment