mercurialvcs-checkoutrevisions

Mercurial: Checkout Files for Revision


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.


Solution

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

    hg update -r <rev>