Mercurial: Checkout Files for Revision

mercurial, revisions, vcs-checkout

Solution

To update your working directory to revision `<rev>`:

hg update -r <rev>

Problem

Is it possible to checkout all the files in a repository for a specific revision? Say for example that my repository is at revision 88. I don't want to revert or backout any of the changes up to revision 88, but just get a copy of them at revision 50.

Original source