How to “switch” with Mercurial

dvcsmercurialsvnversion control

How do I do what svn switch does, in Mercurial?

That is change my working directory to switch to another branch in the repository?

Best Answer

hg update -r<REV>

The update command will switch to a specified revision.