diff options
| author | Max Howell | 2009-12-02 13:21:34 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-02 13:21:34 +0000 |
| commit | 277239a4ddf54c67c9feabf8303125c52b7d9053 (patch) | |
| tree | 1e3ba77a8c6bf869898bf3a67f57c6a5e7ea018c /Library | |
| parent | b70367fa96eb138e82b4f1fc305360c901d7431d (diff) | |
| download | brew-277239a4ddf54c67c9feabf8303125c52b7d9053.tar.bz2 | |
List the options that the user has for installing Mercurial
Fixes Homebrew/homebrew#136
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index f69c9f57c..a66348f8c 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -207,6 +207,12 @@ end class MercurialDownloadStrategy <AbstractDownloadStrategy 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" + ohai "Cloning #{@url}" @clone=HOMEBREW_CACHE+@unique_token |
