Mercurial Notes
Clone project (checkout)
hg clone http://192.168.1.1/repo/project-name
Manage changes
- Show changes:
hg status
- Remove files and commit them:
cd some-directory hg remove FileName.txt hg commit
hg pull hg update hg merge hg commit hg push hg recommit
Temporary server
- Current project directory:
hg serve
- Served on http://localhost:8000
Setup on a client machine
- Create an .hgrc file:
[ui] username = John Doe <john@example.com>
Setup a new project
- Run init, add and commit:
cd project/ hg init hg add hg commit