From 38d193706f59d10e8b53260207f0ddeb0f1d2831 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 4 May 2014 12:45:58 -0700 Subject: mercurial: remove head support Closes #26822. --- Library/Formula/mercurial.rb | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb index e5758245a..cac61c411 100644 --- a/Library/Formula/mercurial.rb +++ b/Library/Formula/mercurial.rb @@ -1,13 +1,13 @@ require 'formula' +# No head build supported; if you need head builds of Mercurial, do so outside +# of Homebrew. class Mercurial < Formula homepage 'http://mercurial.selenic.com/' url 'http://mercurial.selenic.com/release/mercurial-3.0.tar.gz' mirror 'http://fossies.org/linux/misc/mercurial-3.0.tar.gz' sha1 'f9648580dd1a6a093fa16d7c28cf5aeefd20f2f0' - head 'http://selenic.com/repo/hg', :using => :hg - option 'enable-docs', "Build the docs (and require docutils)" depends_on :python @@ -30,17 +30,6 @@ class Mercurial < Formula zsh_completion.install 'contrib/zsh_completion' => '_hg' end - def caveats - if build.head?; <<-EOS.undent - To install the --HEAD version of mercurial, you have to: - 1. `brew install mercurial` # so brew can use this to fetch sources! - 2. `brew unlink mercurial` - 3. `brew install mercurial --HEAD` - 4. `brew cleanup mercurial` # to remove the older non-HEAD version - EOS - end - end - test do system "#{bin}/hg", "debuginstall" end -- cgit v1.2.3