view Main.txt @ 5:63915af14173

Main page: Added draft for Get Mercurial and Quick Start. Also did some reworking of Mercurial is...
author Arne Babenhauserheide <bab@draketo.de>
date Sat, 07 Feb 2009 19:16:47 +0100
parents ee901315cf85
children 3fbb1c1b9e89
line wrap: on
line source

Main page
=========

Mercurial is... 
---------------

Mercurial is a free, distributed source control management tool. It offers you the power to handle projects of any size along with a very intuitive interface. 

Every Mercurial clone is a full-fledged repository with complete history and full revision tracking capabilities, so it is independent of network access or a central server. Committing, branching and merging are fast and cheap. 

Mercurial is available on many different platforms, including Microsoft Windows, Mac OS X, Linux, FreeBSD, OpenSolaris and others. 


Projects using Mercurial
------------------------


Get Mercurial
-------------

If you're using Windows, download TortoiseHG. ![TortoiseHG Logo]()

GNU/Linux: Just [get it from your package manager](link to a simple guide for the different distros). 

MacOSX: Download (app). 


Mercurial Quick start
---------------------

Cloning and Creating a Patch

$ hg clone http://bitbucket.org/ArneBab/hello_world
$ cd hello_world
$ (edit files)
$ hg add (new files)
$ hg commit -m 'My changes'
$ hg export > patch.diff

Creating and Commiting

$ hg init (project-directory)
$ (add some files)
$ hg add
$ hg commit -m 'Initial commit'

Footer
------