Mercurial Tips and Tricks
External Resources:
Switching between branches:
hg update -C branch1
hg update -C branch2
Commit to a branch:
hg update -C branch1 # switch branch. hg pull # get latest changes. hg update # get latest changes. hg add # commit your changes. hg commit -m "some message here." # commit your changes. hg push # push changes out to the rest of the world. ## You may be warned about making mutliple heads. ## If this is the first commit to the branch, then force the commit by using -f.