Skip to content
Snippets Groups Projects
Commit 277239a4 authored by Max Howell's avatar Max Howell
Browse files

List the options that the user has for installing Mercurial

Fixes Homebrew/homebrew#136
parent b70367fa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment