mxcl/homebrew — Issue #10611: Installing Mercurial 2.1 doesn't work
Author: tamm0r
Created: 2012-03-01 09:50:03+00:00
State: open

Installing Mercurial 2.1 created the following error:

Warning: inreplace in '/usr/local/Cellar/mercurial/2.1/bin/hg' failed
Expected replacement of '(?-mix:#!\/.*\/python\/.*)' with '#!/usr/bin/env python'

Environment: OSX 10.7.3, XCode 4.3

Gist: https://gist.github.com/1b5c9e26a5cf6aaff200

Doctor:
==> /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
gitk
sqlite3
svn
svnadmin
svndumpfilter
svnlook
svnserve
svnsync
svnversion

Consider editing your .bashrc to put /usr/local/bin
ahead of /usr/bin in your PATH.

Some brews install binaries to sbin instead of bin, but Homebrew's
sbin was not found in your path.

Consider editing your .bashrc to add:
/usr/local/sbin
to the PATH variable.