List the current local branch
hg identify -b
hg branch
List all local branches
Start a new local branch
hg branch <branchname>
Add changes
hg add <filename>
hg add .
Commit a branch
hg commit -m “commit message”
Pull remote code
hg pull
Update the local repository
hg update
Push local changes to remote
hg push