aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-02-13 12:23:48 +0000
committerAdam Vandenberg2011-03-12 11:55:06 -0800
commitb2a065714d3ba0ac8d1b71fa1b0ad71eb54893cc (patch)
treee72e923519878721d6a6730a1f8026679c50c367 /Library
parent31e4c568d0cc0ac41fe4ee6fafa95a184dc9e64f (diff)
downloadhomebrew-b2a065714d3ba0ac8d1b71fa1b0ad71eb54893cc.tar.bz2
Stop recommending our pip
Seeing as the pip formula doesn't recommend pip anymore, we should stop telling people to use it :P
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/blacklist.rb2
-rw-r--r--Library/Homebrew/download_strategy.rb6
2 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/blacklist.rb b/Library/Homebrew/blacklist.rb
index 6789ba1e7..46233f535 100644
--- a/Library/Homebrew/blacklist.rb
+++ b/Library/Homebrew/blacklist.rb
@@ -26,7 +26,7 @@ def blacklisted? name
when 'mercurial', 'hg' then <<-EOS.undent
Install Mercurial with pip:
- brew install pip && pip install mercurial
+ easy_install pip && pip install mercurial
Or easy_install:
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 1350e8e22..c0daf687a 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -364,11 +364,7 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy
def cached_location; @clone; end
def fetch
- raise "You must install mercurial, there are two options:\n\n"+
- " brew install pip && pip install mercurial\n"+
- " easy_install mercurial\n\n"+
- "Homebrew recommends pip over the OS X provided easy_install." \
- unless system "/usr/bin/which hg"
+ raise "You must `easy_install mercurial'" unless system "/usr/bin/which hg"
ohai "Cloning #{@url}"