Alex Rivera | Logout

How do I "switch" with Mercurial

Asked 2009-07-20T21:48:46.623
64

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

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

Edit
Report

1 Answer

65
hg update -r<REV>

The update command will switch to a specified revision.

answered 2009-07-20T21:51:58.897

Your Answer