Install Mercurial

From ivc wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 a while, to update the project:

hg pull
hg update

Or the short form:

hg -u pull

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