The Mercurial Branch action allows you to get or set the current branch name. When no branch name is specified, the current branch name is shown. If a branch name is specified, the current branch has its name set to that specified name.
Branch
The name to give to the current branch.
Force
Set the branch name even it it shadows an existing branch.
Clean
Reset the branch name to the parent branch name.