Installing Mercurial on iMac

Downloaded Mercurial 2.0.1 for MacOS X 10.7 from http://mercurial.selenic.com/downloads/.
Ran the installer as usual. Mercurial installs to '/usr/local/bin/' as the executable file 'hg'.
Navigate to this in terminal and run the command 'hg version', should give you something like this if it's worked:

Mercurial Distributed SCM (version 2.0.1+20111201)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Then need to setup a username. Do this in an .ini style file called .hgrc. This needs to be in your home directory (~/), which in my case is '/Users/steve/', and contains the following:

[ui]
username = Steve Richmond

That's it!

Comments

Popular posts from this blog

Path environmental variable on mac

Setting up node-sass on a mac