$ hg pull # make sure the default branch has latest changes $ hg update "JDK-7000001" # make sure you are sitting on your branch $ hg merge default $ hg commit $ hg push
How should I push a branch?
$ hg update -C "JDK-7000001" $ hg commit --close-branch -m "Closing branch" $ # Update repo to another branch to avoid mistakenly re-opening the closed branch. $ hg update default $ hg push
How can I see my open branches?
Do the following:
$ hg log -r "heads(all()) and not closed() and user('<user>') and not branch(default)"
How can I show all changes for my branch?
To see all the changes for a branch named "JDK-4040458" you can do this: