hg clone <repo url>
hg branch <branch name>
hg add filename
hg status
hg commit
hg commit file1 file2 dir/
hg pull branchname
hg pull --rebase <branchname>
hg merge <branchname>
hg push -r . # to push only the current branch changes
hg push # to push all branches
hg commit --close-branch -m “close commit”
hg branch
hg branches