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
==> /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:
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:
to the PATH variable.
It did work, that's just a warning.
See also: 8c0ff06 You may need to brew update to get it.
Works like a charm!