Intro

Installation

Usage

Setting up new project

$ hg init  # creates hg

Edit .hgignore with regular expressions to ignore files.

$ hg status  # check status
$ hg add     # add unknown files
$ hg commit  # commit changes

Sync with remote repo

Example:

$ hg -v clone ssh://user@hostname//home/user/  # intial copy
$ hg -v pull ssh://user@hostname//home/user/   # get remote changesets
$ hg update                                   # update local files

# make local changes with add, remove

$ hg commit                                   # commit local changes
$ hg -v push ssh://user@hostname//home/user/   # push changes to remote repo

Integration with SVN