Install Mercurial

From ivc wiki
Revision as of 19:33, 9 August 2011 by Ivc (talk | contribs)
Jump to navigationJump to search

Mercurial is a version control system, much like SVN and Git. A decentralized approach makes it easy to use any remote or local repository server.

Install OS X

Download the Mercurial package and install.

wget http://mercurial.berkwood.com/binaries/Mercurial-1.9.1-py2.7-macosx10.7.zip

Open a terminal window and use the hg command to execute actions.

hg 

To fetch a project from Bitbucket try:

hg clone https://www.bitbutcket.org/clux/deathmatchjs/
<enter user and password>
ls deathmatchjs

After making changes, commit your revisions and merge with the revision on the repository server.

hg commit -m "Changed the font size"
hg merge https://www.bitbutcket.org/clux/deathmatchjs/
<enter user and password>

References