aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mercurial.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb
index 8cef04ab9..7f5dc5715 100644
--- a/Library/Formula/mercurial.rb
+++ b/Library/Formula/mercurial.rb
@@ -2,8 +2,8 @@ require 'formula'
class Mercurial < Formula
homepage 'http://mercurial.selenic.com/'
- url 'http://mercurial.selenic.com/release/mercurial-2.1.2.tar.gz'
- sha1 '6fa2f2510757e3e62efa9d8953f8b703b84075b2'
+ url 'http://mercurial.selenic.com/release/mercurial-2.2.tar.gz'
+ sha1 '8d2dc0b72d0e2aef70770a9eca32154f456e8afa'
head 'http://selenic.com/repo/hg', :using => :hg
@@ -62,4 +62,8 @@ class Mercurial < Formula
EOS
end
end
+
+ def test
+ system "#{bin}/hg", "debuginstall"
+ end
end