aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mercurial.rb15
1 files changed, 2 insertions, 13 deletions
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