aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2013-06-18 10:48:51 +0200
committerSamuel John2013-06-18 10:48:51 +0200
commit8b9d6d15ce15ceff2a23613f9c9b91eaff5100c2 (patch)
treec46ba29e98ab3d4941fc0ff52e57a947f9953a51 /Library
parent2c8c8d07f6f108533f5b6d9650e1fcdf9929a937 (diff)
downloadhomebrew-8b9d6d15ce15ceff2a23613f9c9b91eaff5100c2.tar.bz2
mercurial: 2.6.2 and fix contrib/hgk not found.
hgk is an [unloved][1] feature. The extension (hgk.py) is still installed but not the binray (hgk). [1]: http://mercurial.selenic.com/wiki/UnlovedFeatures)
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mercurial.rb18
1 files changed, 4 insertions, 14 deletions
diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb
index c5aacfc94..138212dcd 100644
--- a/Library/Formula/mercurial.rb
+++ b/Library/Formula/mercurial.rb
@@ -2,13 +2,12 @@ require 'formula'
class Mercurial < Formula
homepage 'http://mercurial.selenic.com/'
- url 'http://mercurial.selenic.com/release/mercurial-2.6.1.tar.gz'
- sha1 'ee9b2ae1cf2518c90b55f9429bf4ed9f2d4fced6'
+ url 'http://mercurial.selenic.com/release/mercurial-2.6.2.tar.gz'
+ sha1 '861c1df8f50347c8381df3aa7e296113ecf24ae6'
head 'http://selenic.com/repo/hg', :using => :hg
- depends_on :python # its written in Python, so this is a hard dep
- depends_on 'docutils' => :python
+ depends_on :python => 'docutils'
def install
python do
@@ -23,8 +22,6 @@ class Mercurial < Formula
system "make doc"
system "make", "PREFIX=#{prefix}", "install"
- # Install some contribs
- bin.install "contrib/hgk"
# Install man pages
man1.install 'doc/hg.1'
man5.install 'doc/hgignore.5', 'doc/hgrc.5'
@@ -36,14 +33,7 @@ class Mercurial < Formula
end
def caveats
- s = <<-EOS.undent
- In order to use the graphical `hgk`, you may have to set:
- export HG=hg
- and add to your ~/.hgrc file:
- [extensions]
- hgk=
- EOS
-
+ s = ''
if build.head? then s += <<-EOS.undent
To install the --HEAD version of mercurial, you have to:
1. `brew install mercurial` # so brew can use this to fetch sources!