diff options
| author | Adam Vandenberg | 2014-05-04 12:45:58 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-04 12:45:58 -0700 |
| commit | 38d193706f59d10e8b53260207f0ddeb0f1d2831 (patch) | |
| tree | daf2e8d70f1e5056ac05d07fec3df38ad31f431c /Library/Formula | |
| parent | 7b99e57bc2e7976aeabda1a01d1149fd3cab0313 (diff) | |
| download | homebrew-38d193706f59d10e8b53260207f0ddeb0f1d2831.tar.bz2 | |
mercurial: remove head support
Closes #26822.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mercurial.rb | 15 |
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 |
